Skip to content

Commit

Permalink
Use Run method
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Castell committed May 5, 2020
1 parent 6b4ded5 commit fa95821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkron/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func (grpcs *GRPCServer) ExecutionDone(ctx context.Context, execDoneReq *proto.E
"execution": execution,
}).Debug("grpc: Retrying execution")

if _, err := grpcs.agent.RunQuery(job.Name, execution); err != nil {
if _, err := grpcs.agent.Run(job.Name, execution); err != nil {
return nil, err
}
return &proto.ExecutionDoneResponse{
Expand Down

0 comments on commit fa95821

Please sign in to comment.