1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-02 07:44:51 +00:00

Use logrus to log errors and panics

This changes the framework from using glog to using logrus, which is
what the rest of code uses.
This commit is contained in:
Craig Jellick
2018-06-22 16:11:19 -07:00
parent e03c72e855
commit 388faeb89e

View File

@@ -201,7 +201,7 @@ func (g *genericController) processNextWorkItem() bool {
}
if err := filterConflictsError(err); err != nil {
utilruntime.HandleError(fmt.Errorf("%v %v %v", g.name, key, err))
logrus.Errorf("%v %v %v", g.name, key, err)
}
g.queue.AddRateLimited(key)