Skip to content

Commit

Permalink
make codacy happy
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkarlsen committed Jan 23, 2021
1 parent d260261 commit f919103
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,15 +84,15 @@ func main() {
log.Panic(err)
}

githubApi, err := githubapi.NewRunnerAPI()
githubAPI, err := githubapi.NewRunnerAPI()
if err != nil {
log.Panic(err)
}

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)
Expand Down

0 comments on commit f919103

Please sign in to comment.