Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 <timofey.kirillov@flant.com>
  • Loading branch information
distorhead committed Dec 15, 2022
1 parent 0325f0f commit 420824b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/werf/main.go
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 420824b

Please sign in to comment.