From 37a8bad629f41555edb7f619608167506afe3de0 Mon Sep 17 00:00:00 2001 From: Craig Jellick Date: Fri, 22 Jun 2018 16:11:19 -0700 Subject: [PATCH] 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. --- controller/generic_controller.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/generic_controller.go b/controller/generic_controller.go index b2d9ddfbf..7a6c0208d 100644 --- a/controller/generic_controller.go +++ b/controller/generic_controller.go @@ -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)