mirror of
https://github.com/weaveworks/scope.git
synced 2026-03-04 02:30:45 +00:00
Merge pull request #1419 from weaveworks/service-token-flag
Honour the --service-token flag properly.
This commit is contained in:
@@ -120,10 +120,10 @@ func main() {
|
||||
flag.Bool("probe-only", false, "Only run the probe.")
|
||||
flag.Bool("no-probe", false, "Don't run the probe.")
|
||||
flag.Bool("app-only", false, "Only run the app")
|
||||
flag.String("service-token", "", "Token to use to authenticate with scope.weave.works")
|
||||
|
||||
// Probe flags
|
||||
flag.StringVar(&flags.probe.token, "probe.token", "default-token", "Token to use to authenticate with scope.weave.works")
|
||||
flag.StringVar(&flags.probe.token, "service-token", "", "Token to use to authenticate with scope.weave.works")
|
||||
flag.StringVar(&flags.probe.token, "probe.token", "", "Token to use to authenticate with scope.weave.works")
|
||||
flag.StringVar(&flags.probe.httpListen, "probe.http.listen", "", "listen address for HTTP profiling and instrumentation server")
|
||||
flag.DurationVar(&flags.probe.publishInterval, "probe.publish.interval", 3*time.Second, "publish (output) interval")
|
||||
flag.DurationVar(&flags.probe.spyInterval, "probe.spy.interval", time.Second, "spy (scan) interval")
|
||||
|
||||
Reference in New Issue
Block a user