diff --git a/flyteplugins/go/tasks/plugins/webapi/agent/client.go b/flyteplugins/go/tasks/plugins/webapi/agent/client.go index cbb6d4312f..289a1a680c 100644 --- a/flyteplugins/go/tasks/plugins/webapi/agent/client.go +++ b/flyteplugins/go/tasks/plugins/webapi/agent/client.go @@ -157,8 +157,7 @@ func createAgentRegistry(ctx context.Context, cs *ClientSet) Registry { } } } - supportedTaskTypes := append(maps.Keys(agentRegistry)) - logger.Debugf(context.Background(), "AgentDeployment service supports task types: %v", supportedTaskTypes) + logger.Debugf(context.Background(), "AgentDeployment service supports task types: %v", maps.Keys(agentRegistry)) return agentRegistry }