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

Fix minion registry test insert.
This commit is contained in:
Daniel Smith 2014-09-19 12:50:29 -07:00
commit bdc8d898fa

View File

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