Skip to content

Commit e30df48

Browse files
fix
1 parent ebbaa8a commit e30df48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/api/actions/runner/runner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ func (s *Service) UpdateLog(
246246
task, err := actions_model.GetTaskByID(ctx, req.Msg.TaskId)
247247
if err != nil {
248248
return nil, status.Errorf(codes.Internal, "get task: %v", err)
249-
} else if runner.RunnerID != task.RunnerID {
249+
} else if runner.ID != task.RunnerID {
250250
return nil, status.Errorf(codes.Internal, "invalid runner for task")
251251
}
252252
ack := task.LogLength

0 commit comments

Comments
 (0)