mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-11 22:20:18 +00:00
Fix minion registry test insert.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user