@@ -25,7 +25,7 @@ import (
2525 "google.golang.org/grpc/codes"
2626 "google.golang.org/grpc/status"
2727 v1 "k8s.io/api/core/v1"
28- storagev1beta1 "k8s.io/api/storage/v1beta1 "
28+ storagev1 "k8s.io/api/storage/v1 "
2929 apierrors "k8s.io/apimachinery/pkg/api/errors"
3030 "k8s.io/client-go/tools/cache"
3131 "k8s.io/klog/v2"
@@ -112,7 +112,7 @@ func (ctrl *modifyController) validateVACAndModifyVolumeWithTarget(
112112func (ctrl * modifyController ) controllerModifyVolumeWithTarget (
113113 pvc * v1.PersistentVolumeClaim ,
114114 pv * v1.PersistentVolume ,
115- vacObj * storagev1beta1 .VolumeAttributesClass ,
115+ vacObj * storagev1 .VolumeAttributesClass ,
116116 pvcSpecVacName * string ) (* v1.PersistentVolumeClaim , * v1.PersistentVolume , error , bool ) {
117117 var err error
118118 pvc , pv , err = ctrl .callModifyVolumeOnPlugin (pvc , pv , vacObj )
@@ -160,7 +160,7 @@ func (ctrl *modifyController) controllerModifyVolumeWithTarget(
160160func (ctrl * modifyController ) callModifyVolumeOnPlugin (
161161 pvc * v1.PersistentVolumeClaim ,
162162 pv * v1.PersistentVolume ,
163- vac * storagev1beta1 .VolumeAttributesClass ) (* v1.PersistentVolumeClaim , * v1.PersistentVolume , error ) {
163+ vac * storagev1 .VolumeAttributesClass ) (* v1.PersistentVolumeClaim , * v1.PersistentVolume , error ) {
164164 if ctrl .extraModifyMetadata {
165165 vac .Parameters [pvcNameKey ] = pvc .GetName ()
166166 vac .Parameters [pvcNamespaceKey ] = pvc .GetNamespace ()
0 commit comments