Move IG GC out of backend pool and into cluster manager
This commit is contained in:
parent
9d85c9b163
commit
a6b0405480
2 changed files with 12 additions and 7 deletions
|
|
@ -273,12 +273,6 @@ func (b *Backends) GC(svcNodePorts []int64) error {
|
|||
return err
|
||||
}
|
||||
}
|
||||
if len(svcNodePorts) == 0 {
|
||||
glog.Infof("Deleting instance group %v", b.namer.IGName())
|
||||
if err := b.nodePool.DeleteInstanceGroup(b.namer.IGName()); err != nil {
|
||||
return err
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue