mirror of https://github.com/apache/cloudstack.git
Specify vm snapshot uuid in response over db id in the async job response (#6449)
This commit is contained in:
parent
aae0fae950
commit
a84664fc9d
|
|
@ -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");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue