From 373db4fab620786e22d0f413b75738d6288972bd Mon Sep 17 00:00:00 2001 From: Pavel Tumik <18602811+sagor999@users.noreply.github.com> Date: Thu, 3 Mar 2022 23:51:59 +0000 Subject: [PATCH] add warning when all attempts to download OTS have failed --- components/content-service/pkg/initializer/initializer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/components/content-service/pkg/initializer/initializer.go b/components/content-service/pkg/initializer/initializer.go index 3cf76d849e8c28..5091e4a2da84e6 100644 --- a/components/content-service/pkg/initializer/initializer.go +++ b/components/content-service/pkg/initializer/initializer.go @@ -315,6 +315,7 @@ func downloadOTS(ctx context.Context, url string) (user, pwd string, err error) log.WithError(err).WithField("attempt", i).Warn("cannot download OTS") } if err != nil { + log.WithError(err).Warn("failed to download OTS") return "", "", err }