drop nil key
Signed-off-by: changzhen <changzhen5@huawei.com>
This commit is contained in:
parent
1d911bbf79
commit
8e770944d1
|
@ -107,6 +107,10 @@ func (w *asyncWorker) EnqueueRateLimited(obj runtime.Object) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if key == nil {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
w.AddRateLimited(key)
|
w.AddRateLimited(key)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue