From f919103fd52c5f815ebd95658e039b25f0dfc4fd Mon Sep 17 00:00:00 2001 From: "David J. M. Karlsen" Date: Sat, 23 Jan 2021 01:43:01 +0100 Subject: [PATCH] make codacy happy --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 8b38858a..27078abe 100644 --- a/main.go +++ b/main.go @@ -84,7 +84,7 @@ func main() { log.Panic(err) } - githubApi, err := githubapi.NewRunnerAPI() + githubAPI, err := githubapi.NewRunnerAPI() if err != nil { log.Panic(err) } @@ -92,7 +92,7 @@ func main() { if err = (&controllers.GithubActionRunnerReconciler{ ReconcilerBase: util.NewFromManager(mgr, mgr.GetEventRecorderFor("GithubActionRunner")), Log: ctrl.Log.WithName("controllers").WithName("GithubActionRunner"), - GithubAPI: githubApi, + GithubAPI: githubAPI, }).SetupWithManager(mgr); err != nil { setupLog.Error(err, "unable to create controller", "controller", "GithubActionRunner") os.Exit(1)