mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 13:12:20 +00:00
Create MinionController to sync minions from cloudprovider (pkg cloudprovider/controller).
This commit is contained in:
@@ -76,7 +76,6 @@ func (r *MinionRegistry) DeleteMinion(ctx api.Context, minionID string) error {
|
||||
defer r.Unlock()
|
||||
var newList []api.Minion
|
||||
for _, node := range r.Minions.Items {
|
||||
|
||||
if node.ID != minionID {
|
||||
newList = append(newList, api.Minion{TypeMeta: api.TypeMeta{ID: node.ID}})
|
||||
}
|
||||
|
Reference in New Issue
Block a user