Skip to content

Commit 6721701

Browse files
olivierlemasleDaanHoogland
authored andcommitted
CLOUDSTACK-6669: Fix support resize in usage server
Signed-off-by: Sebastien Goasguen <runseb@gmail.com> (cherry picked from commit f0ea44d)
1 parent 65bffef commit 6721701

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

usage/src/com/cloud/usage/parser/VolumeUsageParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public static boolean parse(AccountVO account, Date startDate, Date endDate) {
8787
long zoneId = usageVol.getZoneId();
8888
Long templateId = usageVol.getTemplateId();
8989
long size = usageVol.getSize();
90-
String key = "" + volId;
90+
String key = volId + "-" + doId + "-" + size;
9191

9292
diskOfferingMap.put(key, new VolInfo(volId, zoneId, doId, templateId, size));
9393

0 commit comments

Comments
 (0)