Skip to content

Commit a5ec519

Browse files
committed
Remove default value from flag
Default gets returned in ConfigFlagGlue.GetConfigPath() if config is not explicitly set.
1 parent d1e6123 commit a5ec519

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/icinga-kubernetes/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func main() {
5959
pflag.StringVar(
6060
&glue.Config,
6161
"config",
62-
daemon.DefaultConfigPath,
62+
"",
6363
fmt.Sprintf("path to the config file (default: %s)", daemon.DefaultConfigPath),
6464
)
6565
pflag.StringVar(&clusterName, "cluster-name", "", "name of the current cluster")

0 commit comments

Comments
 (0)