mirror of
https://github.com/rancher/norman.git
synced 2025-09-01 23:36:58 +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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user