Skip to content

Commit

Permalink
vrg: Check spec.async == nil for PR 525
Browse files Browse the repository at this point in the history
Signed-off-by: hatfieldbrian <bhatfiel@redhat.com>
  • Loading branch information
hatfieldbrian authored and ShyamsundarR committed Sep 7, 2022
1 parent ba9a08c commit 14d43fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/vrg_volrep.go
Original file line number Diff line number Diff line change
Expand Up @@ -709,7 +709,7 @@ func (v *VRGInstance) reconcileMissingVR(pvc *corev1.PersistentVolumeClaim, log
vrMissing = true
)

if v.instance.Spec.Async.Mode != ramendrv1alpha1.AsyncModeEnabled {
if v.instance.Spec.Async == nil {
return !vrMissing, !requeue
}

Expand Down

0 comments on commit 14d43fb

Please sign in to comment.