Skip to content

Commit

Permalink
bucket notification - check pvcName, not pvc DFBUGS 988, 991
Browse files Browse the repository at this point in the history
Signed-off-by: Amit Prinz Setter <[email protected]>
  • Loading branch information
alphaprinz committed Dec 5, 2024
1 parent cfae265 commit 4a9db8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/system/phase2_creating.go
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ func (r *Reconciler) ReconcileODFPersistentLoggingPVC(
log := r.Logger.WithField("func", "ReconcileODFPersistentLoggingPVC")

// Return if persistent logging PVC already exists
if pvc != nil {
if pvcName != nil {
pvc.Name = *pvcName;
log.Infof("PersistentLoggingPVC %s already exists and supports RWX access mode. Skipping ReconcileODFPersistentLoggingPVC.", *pvcName)
return nil
Expand Down

0 comments on commit 4a9db8c

Please sign in to comment.