Skip to content

Commit

Permalink
fix: refine log for buffer validation. Fixes #185 (#573)
Browse files Browse the repository at this point in the history
Signed-off-by: Dillen Padhiar <[email protected]>
  • Loading branch information
dpadhiar authored Feb 28, 2023
1 parent 4eb27ef commit 1b4800a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/commands/isbsvc_buffer_validate.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ func NewISBSvcBufferValidateCommand() *cobra.Command {
}
_ = wait.ExponentialBackoffWithContext(ctx, sharedutil.DefaultRetryBackoff, func() (bool, error) {
if err = isbsClient.ValidateBuffers(ctx, bfs); err != nil {
logger.Errorw("Buffers validation failed, will retry if the limit is not reached", zap.Error(err))
logger.Infow("Buffers might have not been created yet, will retry if the limit is not reached", zap.Error(err))
return false, nil
}
return true, nil
Expand Down

0 comments on commit 1b4800a

Please sign in to comment.