Skip to content

Commit

Permalink
remove web-dashboard flag
Browse files Browse the repository at this point in the history
  • Loading branch information
szkiba committed Jan 15, 2024
1 parent ee587cb commit ef727f6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions cmd/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,6 @@ func configFlagSet() *pflag.FlagSet {
flags.StringArrayP("out", "o", []string{}, "`uri` for an external metrics database")
flags.BoolP("linger", "l", false, "keep the API server alive past test end")
flags.Bool("no-usage-report", false, "don't send anonymous stats to the developers")
flags.Bool("web-dashboard", false, "enable web dashboard")
// we don't want to introduce it, in future releases logic may change
flags.MarkHidden("web-dashboard") //nolint:errcheck,gosec
return flags
}

Expand Down Expand Up @@ -105,7 +102,6 @@ func getConfig(flags *pflag.FlagSet) (Config, error) {
Out: out,
Linger: getNullBool(flags, "linger"),
NoUsageReport: getNullBool(flags, "no-usage-report"),
WebDashboard: getNullBool(flags, "web-dashboard"),
}, nil
}

Expand Down

0 comments on commit ef727f6

Please sign in to comment.