Skip to content

Commit a2b3e74

Browse files
authored
Merge pull request volcano-sh#251 from k82cn/ka_247_2
Renamed actions to action.
2 parents a8235c8 + dc5efea commit a2b3e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/kar-scheduler/app/options/options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ func (s *ServerOption) AddFlags(fs *pflag.FlagSet) {
4040
fs.StringVar(&s.Kubeconfig, "kubeconfig", s.Kubeconfig, "Path to kubeconfig file with authorization and master location information.")
4141
// kube-arbitrator will ignore pods with scheduler names other than specified with the option
4242
fs.StringVar(&s.SchedulerName, "scheduler-name", "kar-scheduler", "kube-arbitrator will handle pods with the scheduler-name")
43-
fs.StringArrayVar(&s.Actions, "actions", []string{"decorate", "allocate"}, "The actions that executed by scheduler")
43+
fs.StringArrayVar(&s.Actions, "action", []string{"decorate", "allocate"}, "The actions that executed by scheduler")
4444
}
4545

4646
func (s *ServerOption) CheckOptionOrDie() {

0 commit comments

Comments
 (0)