Skip to content

Commit

Permalink
The flag should be --controller-config-file. (#295)
Browse files Browse the repository at this point in the history
* The flag should be --controller-config-file.

* This looks like a regression introduced by all the refactoring.

* Fix #279
  • Loading branch information
jlewi authored Jan 11, 2018
1 parent 833a25a commit e619ac4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/tf_operator/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@ func (s *ServerOption) AddFlags(fs *flag.FlagSet) {
fs.IntVar(&s.ChaosLevel, "chaos-level", -1, "DO NOT USE IN PRODUCTION - level of chaos injected into the TfJob created by the operator.")
fs.BoolVar(&s.PrintVersion, "version", false, "Show version and quit")
fs.DurationVar(&s.GCInterval, "gc-interval", 10*time.Minute, "GC interval")
fs.StringVar(&s.ControllerConfigFile, "controller_config_file", "", "Path to file containing the controller config.")
fs.StringVar(&s.ControllerConfigFile, "controller-config-file", "", "Path to file containing the controller config.")
}

0 comments on commit e619ac4

Please sign in to comment.