Fix bug in runnermanager
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user