From 420824b9e6c1f652284dd343f478f6bb9ebfbb14 Mon Sep 17 00:00:00 2001 From: Timofey Kirillov Date: Thu, 15 Dec 2022 11:49:53 +0300 Subject: [PATCH] fix: broken render output due to lock-related message Globally disable all lock-related messages in default output, only print 'Wait for locked ...' message in --verbose mode. Signed-off-by: Timofey Kirillov --- pkg/werf/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/werf/main.go b/pkg/werf/main.go index 843a8eb848..de83b00637 100644 --- a/pkg/werf/main.go +++ b/pkg/werf/main.go @@ -99,7 +99,7 @@ func ReleaseHostLock(lock lockgate.LockHandle) error { func DefaultLockerOnWait(ctx context.Context) func(lockName string, doWait func() error) error { return func(lockName string, doWait func() error) error { logProcessMsg := fmt.Sprintf("Waiting for locked %q", lockName) - return logboek.Context(ctx).LogProcessInline(logProcessMsg).DoError(doWait) + return logboek.Context(ctx).Info().LogProcessInline(logProcessMsg).DoError(doWait) } }