mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 01:00:16 -05:00
Fix lint issues in ./internal/encryption (#2782)
Signed-off-by: Christian Mesh <christianmesh1@gmail.com>
This commit is contained in:
@@ -132,8 +132,8 @@ func TestKeyProvider(t *testing.T) {
|
||||
return nil
|
||||
},
|
||||
ValidateMetadata: func(meta *keyMeta) error {
|
||||
if meta.CiphertextBlob == nil || len(meta.CiphertextBlob) == 0 {
|
||||
return fmt.Errorf("ciphertext blob is nil")
|
||||
if len(meta.CiphertextBlob) == 0 {
|
||||
return fmt.Errorf("ciphertext blob is empty")
|
||||
}
|
||||
return nil
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user