spelling: passed

This commit is contained in:
Josh Soref
2018-03-11 18:36:49 +00:00
parent 791268e2bd
commit fc838fea8e

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