Skip to content

Commit

Permalink
fix volsnap version
Browse files Browse the repository at this point in the history
Signed-off-by: rakeshgm <rakeshgm@redhat.com>
  • Loading branch information
rakeshgm committed Jul 31, 2024
1 parent d2f5147 commit 6c768fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/controller/volumereplicationgroup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

volrep "github.com/csi-addons/kubernetes-csi-addons/apis/replication.storage/v1alpha1"
"github.com/google/uuid"
snapv1 "github.com/kubernetes-csi/external-snapshotter/client/v4/apis/volumesnapshot/v1"
snapv1 "github.com/kubernetes-csi/external-snapshotter/client/v7/apis/volumesnapshot/v1"
"github.com/ramendr/ramen/internal/controller/kubeobjects"
"github.com/ramendr/ramen/internal/controller/kubeobjects/velero"
"golang.org/x/exp/maps" // TODO replace with "maps" in go1.21+
Expand Down Expand Up @@ -741,7 +741,7 @@ func (v *VRGInstance) filterSyncPVCs(pvcList *corev1.PersistentVolumeClaimList)
if err != nil {
return err
}

if len(peerClass.StorageID) != 1 {
return fmt.Errorf("no StorageID found in Sync PeerClass")
}
Expand Down

0 comments on commit 6c768fd

Please sign in to comment.