We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f76d3ca commit 9f70be8Copy full SHA for 9f70be8
libcalico-go/lib/clientv3/client.go
@@ -201,6 +201,10 @@ type poolAccessor struct {
201
202
func (p poolAccessor) GetEnabledPools(ctx context.Context, ipVersion int) ([]v3.IPPool, error) {
203
return p.getPools(ctx, func(pool *v3.IPPool) bool {
204
+ if !pool.DeletionTimestamp.IsZero() {
205
+ log.Debugf("Skipping deleting IP pool (%s)", pool.Name)
206
+ return false
207
+ }
208
if pool.Spec.Disabled {
209
log.Debugf("Skipping disabled IP pool (%s)", pool.Name)
210
return false
0 commit comments