rohityadavcloud commented on code in PR #10630:
URL: https://github.com/apache/cloudstack/pull/10630#discussion_r2018266872


##########
utils/src/main/java/org/apache/cloudstack/utils/redfish/RedfishClient.java:
##########
@@ -265,12 +265,12 @@ private String getRequestPathForCommand(RedfishCmdType 
cmd, String resourceId) {
             if (StringUtils.isBlank(resourceId)) {
                 throw new RedfishException(String.format("Command '%s' 
requires a valid resource ID '%s'.", cmd, resourceId));
             }
-            return String.format("%s%s", SYSTEMS_URL_PATH, resourceId);

Review Comment:
   TBH, I don't know. Usually, I don't think we should require a trailing `/` 
(most servers should handle this case).



-- 
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]

Reply via email to