rohityadavcloud commented on code in PR #6242:
URL: https://github.com/apache/cloudstack/pull/6242#discussion_r848204769
##########
api/src/main/java/com/cloud/server/ResourceTag.java:
##########
@@ -91,6 +96,53 @@ public boolean resourceMetadataSupport() {
public boolean resourceIconSupport() {
return resourceIconSupport;
}
+
+ static {
+ resourceObjectTypeMap.put("uservm", UserVm);
Review Comment:
@ravening is there any automatic way to have lowered-case object-type name
map to the ResourceObjectType? Otherwise, this creates issue of manually
maintaining this hashmap.
--
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]