mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
Merge pull request #1376 from ddysher/minion-test-fix
Fix minion registry test insert.
This commit is contained in:
commit
bdc8d898fa
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user