This is an automated email from the ASF dual-hosted git repository.

nvazquez pushed a commit to branch 4.17
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/4.17 by this push:
     new a84664fc9d Specify vm snapshot uuid in response over db id in the 
async job response (#6449)
a84664fc9d is described below

commit a84664fc9d1c409cf737f057cac42cfa398a61d1
Author: Pearl Dsilva <[email protected]>
AuthorDate: Fri Jun 10 16:15:11 2022 +0530

    Specify vm snapshot uuid in response over db id in the async job response 
(#6449)
---
 .../cloudstack/api/command/user/vmsnapshot/CreateVMSnapshotCmd.java      | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/api/src/main/java/org/apache/cloudstack/api/command/user/vmsnapshot/CreateVMSnapshotCmd.java
 
b/api/src/main/java/org/apache/cloudstack/api/command/user/vmsnapshot/CreateVMSnapshotCmd.java
index a59b2f67e6..cdd7ab0f95 100644
--- 
a/api/src/main/java/org/apache/cloudstack/api/command/user/vmsnapshot/CreateVMSnapshotCmd.java
+++ 
b/api/src/main/java/org/apache/cloudstack/api/command/user/vmsnapshot/CreateVMSnapshotCmd.java
@@ -100,6 +100,7 @@ public class CreateVMSnapshotCmd extends BaseAsyncCreateCmd 
{
 
         if (vmsnapshot != null) {
             setEntityId(vmsnapshot.getId());
+            setEntityUuid(vmsnapshot.getUuid());
         } else {
             throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed 
to create vm snapshot");
         }

Reply via email to