mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
wire up enable_event_publisher
This commit is contained in:
@@ -94,6 +94,7 @@ func (c *Command) readConfig() *Config {
|
||||
flags.Var((*flaghelper.StringFlag)(&cmdConfig.Server.ServerJoin.StartJoin), "join", "")
|
||||
flags.Var((*flaghelper.StringFlag)(&cmdConfig.Server.ServerJoin.RetryJoin), "retry-join", "")
|
||||
flags.IntVar(&cmdConfig.Server.ServerJoin.RetryMaxAttempts, "retry-max", 0, "")
|
||||
flags.BoolVar(&cmdConfig.Server.EnableEventPublisher, "event-publisher", false, "")
|
||||
flags.Var((flaghelper.FuncDurationVar)(func(d time.Duration) error {
|
||||
cmdConfig.Server.ServerJoin.RetryInterval = d
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user