Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
wzshiming authored Sep 3, 2020
1 parent 3424ad0 commit 03fa217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/fake-kubelet/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ func init() {
pflag.StringVarP(&nodeName, "node_name", "n", nodeName, "node name")
pflag.StringVar(&kubeconfig, "kubeconfig", kubeconfig, "kubeconfig")
pflag.StringVar(&master, "master", master, "master")
pflag.Parse()
ip, ipnet, err := net.ParseCIDR(cidr)
if err != nil {
pflag.PrintDefaults()
Expand Down

0 comments on commit 03fa217

Please sign in to comment.