CLOUDSTACK-6669: Fix support resize in usage server

Signed-off-by: Sebastien Goasguen <runseb@gmail.com>
This commit is contained in:
Olivier Lemasle 2014-06-06 23:04:43 +02:00 committed by Sebastien Goasguen
parent 25580c7cd1
commit 303e6ffc1e

View File

@ -87,7 +87,7 @@ public class VolumeUsageParser {
long zoneId = usageVol.getZoneId();
Long templateId = usageVol.getTemplateId();
long size = usageVol.getSize();
String key = "" + volId;
String key = volId + "-" + doId + "-" + size;
diskOfferingMap.put(key, new VolInfo(volId, zoneId, doId, templateId, size));