Skip to content

Commit ec46137

Browse files
committed
fix lint
1 parent 0446ebf commit ec46137

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

exp/metric-gen/main.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ import (
2828
"sigs.k8s.io/controller-tools/pkg/markers"
2929

3030
"k8s.io/klog/v2"
31+
3132
"k8s.io/kube-state-metrics/v2/exp/metric-gen/generator"
3233
)
3334

@@ -44,7 +45,7 @@ func main() {
4445
var whichMarkersFlag, versionFlag bool
4546

4647
pflag.CommandLine.BoolVarP(&whichMarkersFlag, "which-markers", "w", false, "Print out all markers available with the requested generators.")
47-
pflag.CommandLine.BoolVarP(&versionFlag, "version", "v", false, "Print verison information.")
48+
pflag.CommandLine.BoolVarP(&versionFlag, "version", "v", false, "Print version information.")
4849

4950
pflag.Usage = func() {
5051
fmt.Fprintf(os.Stderr, "Usage of %s:\n\n", os.Args[0])

0 commit comments

Comments
 (0)