Skip to content

Commit

Permalink
[Feature]Add subcommand --version (#166)
Browse files Browse the repository at this point in the history
* add subcommand --version

* fix

* lint

Co-authored-by: wuhua.ck <wuhua.ck@alibaba-inc.com>
  • Loading branch information
chenk008 and wuhua.ck committed Mar 22, 2022
1 parent 727437a commit f346c68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ray-operator/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func main() {
flag.BoolVar(&version, "version", false, "Show the version information.")
flag.StringVar(&metricsAddr, "metrics-addr", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&probeAddr, "health-probe-bind-address", ":8081", "The address the probe endpoint binds to.")
flag.BoolVar(&enableLeaderElection, "enable-leader-election", true,
flag.BoolVar(&enableLeaderElection, "enable-leader-election", false,
"Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.")
flag.IntVar(&reconcileConcurrency, "reconcile-concurrency", 1, "max concurrency for reconciling")
flag.StringVar(
Expand Down

0 comments on commit f346c68

Please sign in to comment.