mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
spelling: passed
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user