Skip to content

Commit

Permalink
improve error message
Browse files Browse the repository at this point in the history
Signed-off-by: Future-Outlier <[email protected]>
  • Loading branch information
Future-Outlier committed Jan 24, 2024
1 parent 0cbfd41 commit 376df9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyteplugins/go/tasks/plugins/webapi/agent/plugin.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func (p Plugin) Create(ctx context.Context, taskCtx webapi.TaskExecutionContextR

client := p.cs.agentClients[agent.Endpoint]
if client == nil {
return nil, nil, fmt.Errorf("agent:[%v] is not connected, please check if the agent is up and running", agent)
return nil, nil, fmt.Errorf("default agent:[%v] is not connected, please check if the default agent is up and running", agent)
}

finalCtx, cancel := getFinalContext(ctx, "CreateTask", agent)
Expand Down

0 comments on commit 376df9c

Please sign in to comment.