spelling: passed

This commit is contained in:
Josh Soref 2018-03-11 18:36:49 +00:00
parent 7656e4edf4
commit 88537de497
1 changed files with 1 additions and 1 deletions

View File

@ -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()