Skip to content

Commit 4859838

Browse files
author
eversC
committed
Add keying to composite literal
1 parent 909f9a2 commit 4859838

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/rotate/rotatekeys.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ func rotateKey(account string, rotationCandidate rotationCandidate, creds cred.C
105105
if newKeyID, newKey, err = createKey(account, key, keyProvider); err != nil {
106106
return
107107
}
108-
keyWrapper := location.KeyWrapper{newKey, newKeyID, keyProvider}
108+
keyWrapper := location.KeyWrapper{Key: newKey, KeyID: newKeyID, KeyProvider: keyProvider}
109109
if err = updateKeyLocation(account, rotationCandidate.keyLocation, keyWrapper, creds); err != nil {
110110
return
111111
}

0 commit comments

Comments
 (0)