Skip to content

Commit

Permalink
don't print finalizer log as error
Browse files Browse the repository at this point in the history
  • Loading branch information
egegunes authored and jvpasinatto committed Jan 14, 2025
1 parent 23b8b9a commit f2cb3b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controller/perconaservermongodb/finalizers.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ func (r *ReconcilePerconaServerMongoDB) deletePSMDBPods(ctx context.Context, cr
rsDeleted = false
switch err {
case errWaitingTermination, errWaitingFirstPrimary:
log.Error(err, "deleting rs pods", "rs", rs.Name)
log.Info("deleting rs pods", "rs", rs.Name, "status", err.Error())
continue
default:
log.Error(err, "failed to delete rs pods", "rs", rs.Name)
Expand Down

0 comments on commit f2cb3b9

Please sign in to comment.