Browse Source

fixing lint issues

Kian 4 years ago
parent
commit
fec30259e9
1 changed files with 1 additions and 2 deletions
  1. 1 2
      pkg/provider/vault/vault.go

+ 1 - 2
pkg/provider/vault/vault.go

@@ -53,13 +53,12 @@ const (
 	errAuthFormat     = "cannot initialize Vault client: no valid auth method specified: %w"
 	errDataField      = "failed to find data field: %v"
 	errJSONUnmarshall = "failed to unmarshall JSON: %v"
-	errSecretFormat   = "Secret data not in expected format: %v"
+	errSecretFormat   = "secret data not in expected format: %v"
 	errVaultToken     = "cannot parse Vault authentication token: %w"
 	errVaultReqParams = "cannot set Vault request parameters: %w"
 	errVaultRequest   = "error from Vault request: %w"
 	errVaultResponse  = "cannot parse Vault response: %w"
 	errServiceAccount = "cannot read Kubernetes service account token from file system: %w"
-	// errVaultData      = "cannot parse Vault response data: %w"
 
 	errGetKubeSA        = "cannot get Kubernetes service account %q: %w"
 	errGetKubeSASecrets = "cannot find secrets bound to service account: %q"