Skip to content

Commit

Permalink
fix commandline flags
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Suderman committed Jul 8, 2021
1 parent 31eecaf commit 29d3b4c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,7 @@ func init() {
pingTestCmd.PersistentFlags().StringSliceVarP(&pingTargets, "targets", "t", nil, "The list of targets to ping.")

klog.InitFlags(nil)
flag.Parse()
pflag.CommandLine.AddGoFlagSet(flag.CommandLine)
pflag.CommandLine.AddGoFlag(flag.CommandLine.Lookup("v"))

envMap := map[string]string{
"AGONES_CLIENT_CERT": "cert",
Expand Down

0 comments on commit 29d3b4c

Please sign in to comment.