Skip to content

Commit

Permalink
修改leader-elect-resource-lock参数说明
Browse files Browse the repository at this point in the history
  • Loading branch information
silenceper committed Feb 24, 2020
1 parent daf4fe6 commit 2e63519
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eventer.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func bindLeaderElectionFlags(l *componentbaseconfig.LeaderElectionConfiguration)
"of a leadership. This is only applicable if leader election is enabled.")
flag.StringVar(&l.ResourceLock, "leader-elect-resource-lock", l.ResourceLock, ""+
"The type of resource object that is used for locking during "+
"leader election. Supported options are `endpoints` (default) and `configmaps`.")
"leader election. Supported options are `leases`(default), `endpoints` and `configmaps`.")
flag.StringVar(&l.ResourceName, "leader-elect-resource-name", l.ResourceName, ""+
"The name of resource object that is used for locking during "+
"leader election.")
Expand Down

0 comments on commit 2e63519

Please sign in to comment.