Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

Commit

Permalink
consul base must not have a default in order to make it optional (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hermsi1337 authored Apr 17, 2020
1 parent 3c559ff commit 4299d40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func main() {
flag.StringVar(&startup.MonitorAddress, "monitor-addr", "0.0.0.0", "Address to listen on (monitoring port)")
flag.IntVar(&startup.MonitorPort, "monitor-port", 8082, "HTTP port to listen on (monitoring port)")
flag.BoolVar(&startup.Debug, "debug", false, "enable to add debug information to each request")
flag.StringVar(&startup.ConsulBaseKey, "consul-base", "gateway/ui", "base key name for configuration")
flag.StringVar(&startup.ConsulBaseKey, "consul-base", "", "base key name for configuration")
flag.StringVar(&startup.UiDir, "ui-dir", "/usr/share/servicegateway", "directory in which UI files can be found")

flag.StringVar(&startup.ProfileCpu, "cpu-profile", "", "write CPU profile to file")
Expand Down

0 comments on commit 4299d40

Please sign in to comment.