weizhouapache commented on code in PR #10223:
URL: https://github.com/apache/cloudstack/pull/10223#discussion_r2205066254
##########
api/src/main/java/org/apache/cloudstack/api/command/admin/autoscale/CreateCounterCmd.java:
##########
@@ -89,16 +90,18 @@ public void create() {
if (ctr != null) {
this.setEntityId(ctr.getId());
this.setEntityUuid(ctr.getUuid());
- CounterResponse response =
_responseGenerator.createCounterResponse(ctr);
- response.setResponseName(getCommandName());
- this.setResponseObject(response);
} else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed
to create Counter with name " + getName());
}
}
@Override
public void execute() {
+ CallContext.current().setEventDetails("Guest OS Id: " + getEntityId());
Review Comment:
Counter ID ?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]