Skip to content

Commit

Permalink
Remove discover param
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed Aug 25, 2018
1 parent 6dfa50c commit 5ed98af
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions dkron/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ type Config struct {
NodeName string `mapstructure:"node-name"`
BindAddr string `mapstructure:"bind-addr"`
HTTPAddr string `mapstructure:"http-addr"`
Discover string
Backend string
BackendMachines []string `mapstructure:"backend-machine"`
Profile string
Expand Down Expand Up @@ -73,7 +72,6 @@ func DefaultConfig() *Config {
NodeName: hostname,
BindAddr: fmt.Sprintf("0.0.0.0:%d", DefaultBindPort),
HTTPAddr: ":8080",
Discover: "dkron",
Backend: "etcd",
BackendMachines: []string{"127.0.0.1:2379"},
Profile: "lan",
Expand All @@ -95,7 +93,6 @@ func ConfigFlagSet() *flag.FlagSet {
cmdFlags.String("bind-addr", c.BindAddr, "Address to bind network listeners to.")
cmdFlags.String("advertise-addr", "", "Address used to advertise to other nodes in the cluster. By default, the bind address is advertised.")
cmdFlags.String("http-addr", c.HTTPAddr, "Address to bind the UI web server to. Only used when server.")
cmdFlags.String("discover", c.Discover, "A cluster name used to discovery peers. On networks that support multicast, this can be used to have peers join each other without an explicit join.")
cmdFlags.String("backend", c.Backend, "store backend")
cmdFlags.StringSlice("backend-machine", c.BackendMachines, "store backend machines addresses")
cmdFlags.String("profile", c.Profile, "Profile is used to control the timing profiles used. The default if not provided is lan.")
Expand Down

0 comments on commit 5ed98af

Please sign in to comment.