mirror of
https://github.com/minio/minio.git
synced 2025-01-11 15:03:22 -05:00
fix type conversion in UpdateKey
for Vault (#8058)
This commit fixes a type conversion in the `UpdateKey` implementation of Vault.
This commit is contained in:
parent
a0715f3b59
commit
35427a017d
@ -274,6 +274,6 @@ func (v *vaultService) UpdateKey(keyID string, sealedKey []byte, ctx Context) (r
|
||||
if !ok {
|
||||
return nil, errMissingUpdatedKey
|
||||
}
|
||||
rotatedKey = ciphertext.([]byte)
|
||||
rotatedKey = []byte(ciphertext.(string))
|
||||
return rotatedKey, nil
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user