spelling: passed
This commit is contained in:
parent
7656e4edf4
commit
88537de497
|
@ -101,7 +101,7 @@ func NewDeploymentsWatcher(logger *log.Logger,
|
|||
|
||||
// SetEnabled is used to control if the watcher is enabled. The watcher
|
||||
// should only be enabled on the active leader. When being enabled the state is
|
||||
// passsed in as it is no longer valid once a leader election has taken place.
|
||||
// passed in as it is no longer valid once a leader election has taken place.
|
||||
func (w *Watcher) SetEnabled(enabled bool, state *state.StateStore) error {
|
||||
w.l.Lock()
|
||||
defer w.l.Unlock()
|
||||
|
|
Loading…
Reference in New Issue