Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
  • Loading branch information
bewing committed May 14, 2024
1 parent c5b4ced commit 2ee0e95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 0 additions & 1 deletion cmd/directpv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ var (
zone = "default"
region = "default"
csiEndpoint = installer.UnixCSIEndpoint
kubeconfig = ""
conversionHealthzURL = ""
readinessPort = consts.ReadinessPort
nodeID directpvtypes.NodeID
Expand Down
1 change: 0 additions & 1 deletion cmd/kubectl-directpv/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ var volumeStatusValues = []string{
}

var (
kubeconfig string // --kubeconfig flag
quietFlag bool // --quiet flag
outputFormat string // --output flag
noHeaders bool // --no-headers flag
Expand Down
6 changes: 4 additions & 2 deletions cmd/kubectl-directpv/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,10 @@ import (
// e.g. $ go build -ldflags="-X main.Version=v4.0.1"
var Version string

var genericOptions *genericclioptions.ConfigFlags
var disableInit bool
var (
genericOptions *genericclioptions.ConfigFlags
disableInit bool
)

var mainCmd = &cobra.Command{
Use: consts.AppName,
Expand Down

0 comments on commit 2ee0e95

Please sign in to comment.