Fix create disk client token elements
@@ -401,7 +401,7 @@ func (cs *controllerServer) CreateVolume(ctx context.Context, req *csi.CreateVol
createDiskRequest.PerformanceLevel = diskVol.PerformanceLevel
}
createDiskRequest.DiskCategory = dType
- createDiskRequest.ClientToken = fmt.Sprintf("token:%s/%s/%s/%s", req.GetName(), diskVol.Type, diskVol.RegionID, diskVol.ZoneID)
+ createDiskRequest.ClientToken = fmt.Sprintf("token:%s/%s/%s/%s", req.GetName(), dType, diskVol.RegionID, diskVol.ZoneID)
log.Infof("CreateVolume: Create Disk for volume %s with diskCatalog: %v, performaceLevel: %v, regionID: %v, zoneID: %v", req.Name, createDiskRequest.DiskCategory, createDiskRequest.PerformanceLevel, diskVol.RegionID, diskVol.ZoneID)
volumeResponse, err = ecsClient.CreateDisk(createDiskRequest)
if err == nil {
