fix lint warnings

This commit is contained in:
Nicola Murino 2020-12-02 10:02:08 +01:00
parent a67276ccc2
commit 3ff6b1bf64
No known key found for this signature in database
GPG key ID: 2F1FB59433D5A8CB
2 changed files with 9 additions and 6 deletions

View file

@ -1,5 +1,9 @@
// +build noawskms nogcpkms novaultkms
package kms
const disabledProviderName = "Disabled"
type disabledSecret struct {
baseSecret
err error

View file

@ -51,12 +51,11 @@ const (
)
const (
localProviderName = "Local"
builtinProviderName = "Builtin"
awsProviderName = "AWS"
gcpProviderName = "GCP"
vaultProviderName = "VaultTransit"
disabledProviderName = "Disabled"
localProviderName = "Local"
builtinProviderName = "Builtin"
awsProviderName = "AWS"
gcpProviderName = "GCP"
vaultProviderName = "VaultTransit"
)
// Configuration defines the KMS configuration