mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
fix lint warnings
This commit is contained in:
parent
a67276ccc2
commit
3ff6b1bf64
2 changed files with 9 additions and 6 deletions
|
@ -1,5 +1,9 @@
|
|||
// +build noawskms nogcpkms novaultkms
|
||||
|
||||
package kms
|
||||
|
||||
const disabledProviderName = "Disabled"
|
||||
|
||||
type disabledSecret struct {
|
||||
baseSecret
|
||||
err error
|
||||
|
|
11
kms/kms.go
11
kms/kms.go
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue