Update runner manager for new database driven runner config

This commit is contained in:
2023-02-25 02:31:54 -07:00
parent 63529b7174
commit c0e33fa52a
4 changed files with 61 additions and 46 deletions
+1 -1
View File
@@ -581,7 +581,7 @@ WHERE id=$1;`
Id: id,
}
err := db.Conn.QueryRow(context.Background(), query, id).Scan(nil, &runner.Name, &runner.Token)
err := db.Conn.QueryRow(context.Background(), query, id).Scan(&runner.Name, &runner.Token)
if err != nil {
return runner, fmt.Errorf("Could not query database for runner with id %v: %w", id.String(), err)
}