@@ -25,7 +25,7 @@ import (
25
25
"google.golang.org/grpc/codes"
26
26
"google.golang.org/grpc/status"
27
27
v1 "k8s.io/api/core/v1"
28
- storagev1beta1 "k8s.io/api/storage/v1beta1 "
28
+ storagev1 "k8s.io/api/storage/v1 "
29
29
apierrors "k8s.io/apimachinery/pkg/api/errors"
30
30
"k8s.io/client-go/tools/cache"
31
31
"k8s.io/klog/v2"
@@ -112,7 +112,7 @@ func (ctrl *modifyController) validateVACAndModifyVolumeWithTarget(
112
112
func (ctrl * modifyController ) controllerModifyVolumeWithTarget (
113
113
pvc * v1.PersistentVolumeClaim ,
114
114
pv * v1.PersistentVolume ,
115
- vacObj * storagev1beta1 .VolumeAttributesClass ,
115
+ vacObj * storagev1 .VolumeAttributesClass ,
116
116
pvcSpecVacName * string ) (* v1.PersistentVolumeClaim , * v1.PersistentVolume , error , bool ) {
117
117
var err error
118
118
pvc , pv , err = ctrl .callModifyVolumeOnPlugin (pvc , pv , vacObj )
@@ -160,7 +160,7 @@ func (ctrl *modifyController) controllerModifyVolumeWithTarget(
160
160
func (ctrl * modifyController ) callModifyVolumeOnPlugin (
161
161
pvc * v1.PersistentVolumeClaim ,
162
162
pv * v1.PersistentVolume ,
163
- vac * storagev1beta1 .VolumeAttributesClass ) (* v1.PersistentVolumeClaim , * v1.PersistentVolume , error ) {
163
+ vac * storagev1 .VolumeAttributesClass ) (* v1.PersistentVolumeClaim , * v1.PersistentVolume , error ) {
164
164
if ctrl .extraModifyMetadata {
165
165
vac .Parameters [pvcNameKey ] = pvc .GetName ()
166
166
vac .Parameters [pvcNamespaceKey ] = pvc .GetNamespace ()
0 commit comments