fix: controller error handle function
Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
@@ -471,7 +471,7 @@ func (v *DestinationRuleController) addServicePolicy(obj interface{}) {
|
||||
}
|
||||
|
||||
func (v *DestinationRuleController) handleErr(err error, key interface{}) {
|
||||
if err != nil {
|
||||
if err == nil {
|
||||
v.queue.Forget(key)
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user