Test version: add a bug in func createVolumeExpandAutoSnapshot in controllerServer.
@@ -1308,7 +1308,7 @@ func (cs *controllerServer) createVolumeExpandAutoSnapshot(ctx context.Context,
cur := time.Now()
timeStr := cur.Format("-2006-01-02-15:04:05")
volumeExpandAutoSnapshotName := veasp.Prefix + pv.Name + timeStr
- sourceVolumeID := disk.DiskId
+ sourceVolumeID := disk.DiskName
log.Infof("ControllerExpandVolume:: Starting to create volumeExpandAutoSnapshot with name: %s", volumeExpandAutoSnapshotName)
if err := cs.Driver.ValidateControllerServiceRequest(csi.ControllerServiceCapability_RPC_CREATE_DELETE_SNAPSHOT); err != nil {
