1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-11 12:12:10 +00:00

Do print controller name when logging error

This commit is contained in:
Craig Jellick 2017-12-28 15:50:37 -07:00 committed by Darren Shepherd
parent d969152e69
commit 6e00d528c2

View File

@ -167,7 +167,7 @@ func (g *genericController) processNextWorkItem() bool {
return true return true
} }
utilruntime.HandleError(fmt.Errorf("%v failed with : %v", key, err)) utilruntime.HandleError(fmt.Errorf("%v %v failed with : %v", g.name, key, err))
g.queue.AddRateLimited(key) g.queue.AddRateLimited(key)
return true return true