Skip to content

Commit

Permalink
Fix double space in error message (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
vijayprakashpj authored Oct 22, 2022
1 parent 28dc7d1 commit dcca4de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emulator.go
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ func (s *Server) GetTask(ctx context.Context, in *tasks.GetTaskRequest) (*tasks.
return nil, status.Errorf(codes.NotFound, "Task does not exist.")
}
if task == nil {
return nil, status.Errorf(codes.FailedPrecondition, "The task no longer exists, though a task with this name existed recently. The task either successfully completed or was deleted.")
return nil, status.Errorf(codes.FailedPrecondition, "The task no longer exists, though a task with this name existed recently. The task either successfully completed or was deleted.")
}

return task.state, nil
Expand Down

0 comments on commit dcca4de

Please sign in to comment.