Skip to content

Commit 23b8b9a

Browse files
egegunesjvpasinatto
authored andcommitted
fix logger panic
1 parent c6dc41f commit 23b8b9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/perconaservermongodb/finalizers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ func (r *ReconcilePerconaServerMongoDB) deletePSMDBPods(ctx context.Context, cr
120120
rsDeleted = false
121121
switch err {
122122
case errWaitingTermination, errWaitingFirstPrimary:
123-
log.Error(err, "rs", rs.Name)
123+
log.Error(err, "deleting rs pods", "rs", rs.Name)
124124
continue
125125
default:
126126
log.Error(err, "failed to delete rs pods", "rs", rs.Name)

0 commit comments

Comments
 (0)