Skip to content

Commit 2c207fd

Browse files
committed
Added fix for verifying default volume type
1 parent 68f20a6 commit 2c207fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/driver/controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ func (d *controllerService) CreateVolume(ctx context.Context, req *csi.CreateVol
122122
return nil, status.Error(codes.InvalidArgument, errString)
123123
}
124124

125-
var volumeType string
125+
volumeType := cloud.DefaultVolumeType
126126

127127
for key, value := range req.GetParameters() {
128128
switch strings.ToLower(key) {

0 commit comments

Comments
 (0)