mirror of
https://github.com/rancher/norman.git
synced 2025-09-03 08:14:40 +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 {
|
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)
|
g.queue.AddRateLimited(key)
|
||||||
|
Reference in New Issue
Block a user