From 4e9e7fb87c1903308517cc5752d792af2319a16b Mon Sep 17 00:00:00 2001 From: Kevin Su Date: Sat, 8 Jun 2024 02:26:40 -0700 Subject: [PATCH] errorf Signed-off-by: Kevin Su --- flyteplugins/go/tasks/plugins/webapi/agent/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flyteplugins/go/tasks/plugins/webapi/agent/client.go b/flyteplugins/go/tasks/plugins/webapi/agent/client.go index 82fa68ca00..250b33f7d9 100644 --- a/flyteplugins/go/tasks/plugins/webapi/agent/client.go +++ b/flyteplugins/go/tasks/plugins/webapi/agent/client.go @@ -132,11 +132,11 @@ func updateAgentRegistry(ctx context.Context, cs *ClientSet) { } if !ok { - logger.Warningf(finalCtx, "failed to list agent: [%v] with a non-gRPC error: [%v]", agentDeployment.Endpoint, err) + logger.Errorf(finalCtx, "failed to list agent: [%v] with a non-gRPC error: [%v]", agentDeployment.Endpoint, err) continue } - logger.Warningf(finalCtx, "failed to list agent: [%v] with error: [%v]", agentDeployment.Endpoint, err) + logger.Errorf(finalCtx, "failed to list agent: [%v] with error: [%v]", agentDeployment.Endpoint, err) continue }