cleanup: resolve revive linter issue

revive linter checks for var-declaration
format.
For example:
"e2e/rbd_helper.go:441:36: var-declaration:
should drop = nil from declaration of
var noPVCValidation; it is the zero value (revive)
var noPVCValidation validateFunc = nil"

Updates: #1586

Signed-off-by: Yati Padia <ypadia@redhat.com>
This commit is contained in:
Yati Padia
2021-07-13 12:11:49 +05:30
committed by mergify[bot]
parent bd947bbe31
commit bfda5fa57f
3 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,7 @@ type vaultConfig struct {
// in the kms-config.yaml file. These variables can be passed on to validation
// functions when a StorageClass has a KMS enabled.
var (
noKMS kmsConfig = nil
noKMS kmsConfig
secretsMetadataKMS = &simpleKMS{
provider: "secrets-metadata",