mirror of
https://github.com/TECHNOFAB11/zfs-localpv.git
synced 2025-12-12 06:20:11 +01:00
chore(go-lint): fix golint warning (#133)
Fixes several go lint cases reported by go report. Signed-off-by: wiwen <shenggxhz@gmail.com>
This commit is contained in:
parent
639ead416e
commit
f5ae3ff476
25 changed files with 78 additions and 51 deletions
|
|
@ -27,11 +27,11 @@ import (
|
|||
)
|
||||
|
||||
const (
|
||||
// OpenEBSNamespace is the environment variable to get openebs namespace
|
||||
// OpenEBSNamespaceKey is the environment variable to get openebs namespace
|
||||
//
|
||||
// This environment variable is set via kubernetes downward API
|
||||
OpenEBSNamespaceKey string = "OPENEBS_NAMESPACE"
|
||||
// This environment variable is set via env
|
||||
// GoogleAnalyticsKey This environment variable is set via env
|
||||
GoogleAnalyticsKey string = "OPENEBS_IO_ENABLE_ANALYTICS"
|
||||
// ZFSFinalizer for the ZfsVolume CR
|
||||
ZFSFinalizer string = "zfs.openebs.io/finalizer"
|
||||
|
|
@ -56,7 +56,7 @@ var (
|
|||
// NodeID is the NodeID of the node on which the pod is present
|
||||
NodeID string
|
||||
|
||||
// should send google analytics or not
|
||||
// GoogleAnalyticsEnabled should send google analytics or not
|
||||
GoogleAnalyticsEnabled string
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue