@@ -63,10 +63,10 @@ func (c *Controller) processNextItem() bool {
6363// - if the VolumeReplication exists
6464// - check if the PVC has a matching VolumeReplicationClass
6565// - and if it doesn't, delete the VolumeReplication
66- // - check if the target of the VolumeReplication is correct
67- // - and if it doesn 't, delete it, and it will be re-created on the next sync
66+ // - check if the class/ target of the VolumeReplication is correct
67+ // - and if it isn 't, delete it, and it will be re-created on the next sync
6868// - check if the replicationState of the VolumeReplication is correct
69- // - and if isn't, live update the VolumeReplication
69+ // - and if it isn't, live update the VolumeReplication
7070//
7171// - if the VolumeReplication doesn't exist
7272// - and if a corresponding VolumeReplicationClass exists, create the VolumeReplication
@@ -115,9 +115,9 @@ func reconcileVolumeReplication(key string) {
115115
116116 // The VolumeReplication exists, we need to check:
117117 // - if the PVC still has a matching VolumeReplicationClass
118- // - and if it doesn't, we need to delete the VolumeReplication (we can't live update the class)
119- // - if the target of the VolumeReplication is correct
120- // - and if it isn't, we need to delete the VolumeReplication (we can't live update the target )
118+ // - and if it doesn't, we need to delete the VolumeReplication
119+ // - if the class/ target of the VolumeReplication is correct
120+ // - and if it isn't, we need to delete the VolumeReplication (we can't live update those fields )
121121 // - if the replicationState of the VolumeReplication is correct
122122 // - and if it isn't, we live update the VR
123123 if volumeReplication != nil {
0 commit comments