mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
fix lint warnings
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
|
// +build noawskms nogcpkms novaultkms
|
||||||
|
|
||||||
package kms
|
package kms
|
||||||
|
|
||||||
|
const disabledProviderName = "Disabled"
|
||||||
|
|
||||||
type disabledSecret struct {
|
type disabledSecret struct {
|
||||||
baseSecret
|
baseSecret
|
||||||
err error
|
err error
|
||||||
|
|||||||
11
kms/kms.go
11
kms/kms.go
@@ -51,12 +51,11 @@ const (
|
|||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
localProviderName = "Local"
|
localProviderName = "Local"
|
||||||
builtinProviderName = "Builtin"
|
builtinProviderName = "Builtin"
|
||||||
awsProviderName = "AWS"
|
awsProviderName = "AWS"
|
||||||
gcpProviderName = "GCP"
|
gcpProviderName = "GCP"
|
||||||
vaultProviderName = "VaultTransit"
|
vaultProviderName = "VaultTransit"
|
||||||
disabledProviderName = "Disabled"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
// Configuration defines the KMS configuration
|
// Configuration defines the KMS configuration
|
||||||
|
|||||||
Reference in New Issue
Block a user