diff --git a/pkg/common/cns-lib/volume/manager.go b/pkg/common/cns-lib/volume/manager.go index 856f284891..640082aa8d 100644 --- a/pkg/common/cns-lib/volume/manager.go +++ b/pkg/common/cns-lib/volume/manager.go @@ -1064,6 +1064,7 @@ func (m *defaultManager) AttachVolume(ctx context.Context, // Construct the CNS AttachSpec list. var cnsAttachSpecList []cnstypes.CnsVolumeAttachDetachSpec cnsAttachSpec := cnstypes.CnsVolumeAttachDetachSpec{ + DiskMode: string(vim25types.VirtualDiskModeIndependent_persistent), VolumeId: cnstypes.CnsVolumeId{ Id: volumeID, },