Fix bug in runnermanager

This commit is contained in:
2023-01-02 01:40:53 -07:00
parent 6fc9af8280
commit 01111fe676
+1 -1
View File
@@ -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 {