Skip to content

Commit 89cd313

Browse files
author
kishan
committed
add zone id for create template event
1 parent c17cda2 commit 89cd313

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/src/com/cloud/async/executor/CreatePrivateTemplateExecutor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ public boolean execute() {
145145
jobStatus = AsyncJobResult.STATUS_SUCCEEDED;
146146
resultCode = 0;
147147
details = null;
148-
String eventParams = "id="+template.getId()+"\nname=" + template.getName() +"\nsize="+volume.getSize();
148+
String eventParams = "id="+template.getId()+"\nname=" + template.getName() +"\nsize="+volume.getSize()+ "\ndcId="+volume.getDataCenterId();
149149
managerServer.saveEvent(param.getUserId(), param.getAccountId(), EventVO.LEVEL_INFO, EventTypes.EVENT_TEMPLATE_CREATE, "Successfully created Template " +param.getName(), eventParams ,param.getEventId());
150150
resultObject = composeResultObject(template, templateHostRef, volume.getDataCenterId());
151151
}

0 commit comments

Comments
 (0)