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 {