From 5ab3590d9b4b75b015a4262e56e42e09d32873d8 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Wed, 28 Jul 2021 17:02:01 -0700 Subject: [PATCH] Improve config retrieval messages Signed-off-by: Brad Davidson --- pkg/agent/config/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/agent/config/config.go b/pkg/agent/config/config.go index 077c494d70..d6dab4c484 100644 --- a/pkg/agent/config/config.go +++ b/pkg/agent/config/config.go @@ -49,7 +49,7 @@ RETRY: for { agentConfig, err := get(ctx, &agent, proxy) if err != nil { - logrus.Infof("Failed to retrieve agent configuration: %v", err) + logrus.Infof("Waiting to retrieve agent configuration; server is not ready: %v", err) for range ticker.C { continue RETRY } @@ -69,7 +69,7 @@ RETRY: for { disabled, err := getKubeProxyDisabled(ctx, node, proxy) if err != nil { - logrus.Infof("Failed to retrieve kube-proxy configuration: %v", err) + logrus.Infof("Waiting to retrieve kube-proxy configuration; server is not ready: %v", err) for range ticker.C { continue RETRY }