Skip to content

Commit 15a2cc6

Browse files
authored
Specify vm snapshot uuid in response over db id in the async job response (apache#6449)
1 parent b1c8b5a commit 15a2cc6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

api/src/main/java/org/apache/cloudstack/api/command/user/vmsnapshot/CreateVMSnapshotCmd.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ public void create() throws ResourceAllocationException {
9393
VMSnapshot vmsnapshot = _vmSnapshotService.allocVMSnapshot(getVmId(), getDisplayName(), getDescription(), snapshotMemory());
9494
if (vmsnapshot != null) {
9595
setEntityId(vmsnapshot.getId());
96+
setEntityUuid(vmsnapshot.getUuid());
9697
} else {
9798
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to create vm snapshot");
9899
}

0 commit comments

Comments
 (0)