Merge pull request #1376 from ddysher/minion-test-fix

Fix minion registry test insert.
pull/6/head
Daniel Smith 2014-09-19 12:50:29 -07:00
commit bdc8d898fa
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ func (r *MinionRegistry) Insert(minion string) error {
r.Lock() r.Lock()
defer r.Unlock() defer r.Unlock()
r.Minion = minion r.Minion = minion
r.Minions = append(r.Minions, minion)
return r.Err return r.Err
} }