Skip to content

Commit 4bc78e4

Browse files
committed
err msg
1 parent 5e7b4aa commit 4bc78e4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/src/main/java/com/cloud/vm/UserVmManagerImpl.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9513,11 +9513,11 @@ public UserVm allocateVMFromBackup(CreateVMFromBackupCmd cmd) throws Insufficien
95139513
} else {
95149514
String serviceOfferingUuid = backup.getDetail(ApiConstants.SERVICE_OFFERING_ID);
95159515
if (serviceOfferingUuid == null) {
9516-
throw new CloudRuntimeException("Backup doesn't contain a Service Offering UUID. Please specify a valid Service Offering while configuring the Instance");
9516+
throw new CloudRuntimeException("Backup doesn't contain a Service Offering UUID. Please specify a valid Service Offering while creating the Instance");
95179517
}
95189518
serviceOffering = serviceOfferingDao.findByUuid(serviceOfferingUuid);
95199519
if (serviceOffering == null) {
9520-
throw new CloudRuntimeException("Unable to find Service Offering with the UUID stored in the Backup. Please specify a valid Service Offering while configuring the Instance");
9520+
throw new CloudRuntimeException("Unable to find Service Offering with the UUID stored in the Backup. Please specify a valid Service Offering while creating the Instance");
95219521
}
95229522
}
95239523
verifyServiceOffering(cmd, serviceOffering);
@@ -9532,11 +9532,11 @@ public UserVm allocateVMFromBackup(CreateVMFromBackupCmd cmd) throws Insufficien
95329532
} else {
95339533
String templateUuid = backup.getDetail(ApiConstants.TEMPLATE_ID);
95349534
if (templateUuid == null) {
9535-
throw new CloudRuntimeException("Backup doesn't contain a Template UUID. Please specify a valid Template/ISO while configuring the Instance");
9535+
throw new CloudRuntimeException("Backup doesn't contain a Template UUID. Please specify a valid Template/ISO while creating the Instance");
95369536
}
95379537
template = _templateDao.findByUuid(templateUuid);
95389538
if (template == null) {
9539-
throw new CloudRuntimeException("Unable to find Template with the UUID stored in the Backup. Please specify a valid Template/ISO while configuring the Instance");
9539+
throw new CloudRuntimeException("Unable to find Template with the UUID stored in the Backup. Please specify a valid Template/ISO while creating the Instance");
95409540
}
95419541
}
95429542
verifyTemplate(cmd, template, serviceOffering.getId());

0 commit comments

Comments
 (0)