lzh3636 commented on a change in pull request #2580: CLOUDSTACK-10357 Improve
log messages that do not match with their method function
URL: https://github.com/apache/cloudstack/pull/2580#discussion_r182547786
##########
File path:
plugins/hypervisors/baremetal/src/main/java/org/apache/cloudstack/api/DeleteBaremetalRctCmd.java
##########
@@ -64,7 +64,7 @@ public void execute() throws ResourceUnavailableException,
InsufficientCapacityE
SuccessResponse response = new SuccessResponse(getCommandName());
setResponseObject(response);
} catch (Exception e) {
- s_logger.warn(String.format("unable to add baremetal RCT[%s]",
getId()), e);
+ s_logger.warn(String.format("unable to delete baremetal RCT[%s]",
getId()), e);
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR,
e.getMessage());
Review comment:
Sure, I'll do one more commit
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services