sureshanaparti commented on code in PR #12502:
URL: https://github.com/apache/cloudstack/pull/12502#discussion_r2721040098
##########
api/src/main/java/org/apache/cloudstack/api/BaseCmd.java:
##########
@@ -498,4 +499,14 @@ public Map<String, String> convertExternalDetailsToMap(Map
externalDetails) {
}
return details;
}
+
+ public String getResourceUuid(String parameterName) {
+ String resourceUuid =
CallContext.current().getApiResourceUuid(parameterName);
+
+ if (resourceUuid != null && UuidUtils.isUuid(resourceUuid)) {
Review Comment:
can check _isUuid()_ while putting in the map or use Map<String, UUID> to
keep them?
--
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]