Fix minion registry test insert.

This commit is contained in:
Deyuan Deng
2014-09-18 23:04:10 -04:00
parent c90d62d512
commit 0c8d9ba870

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
}