From 01111fe67624f8e4235273e5bef00d122362181d Mon Sep 17 00:00:00 2001 From: restitux Date: Mon, 2 Jan 2023 01:40:53 -0700 Subject: [PATCH] Fix bug in runnermanager --- runnermanager/runnermanager.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runnermanager/runnermanager.go b/runnermanager/runnermanager.go index 5ec7168..f0ff241 100644 --- a/runnermanager/runnermanager.go +++ b/runnermanager/runnermanager.go @@ -129,7 +129,7 @@ func (r *runnerManager) processRegistration(reg RunnerRegistration) { }() } else { - log.Errorf("Disconnecting runner with id: %v and invalid secret: %v", reg.Id, registration.Secret) + log.Errorf("Disconnecting runner with id: %v and invalid secret: %v", reg.Id, reg.Secret) reg.conn.Close(websocket.StatusNormalClosure, "registration invalid") } } else {