diff --git a/internal/rbd/rbd_journal.go b/internal/rbd/rbd_journal.go index 42e504d71..eb7650283 100644 --- a/internal/rbd/rbd_journal.go +++ b/internal/rbd/rbd_journal.go @@ -626,7 +626,7 @@ func RegenerateJournal( } } // Update Metadata on reattach of the same old PV - parameters := k8s.PrepareVolumeMetadata(claimName, rbdVol.Owner, "") + parameters := k8s.PrepareVolumeMetadata(claimName, owner, "") err = rbdVol.setAllMetadata(parameters) if err != nil { return "", fmt.Errorf("failed to set volume metadata: %w", err)