Copilot commented on code in PR #10773:
URL: https://github.com/apache/cloudstack/pull/10773#discussion_r2068484008


##########
api/src/main/java/org/apache/cloudstack/api/command/admin/guest/UpdateGuestOsCmd.java:
##########
@@ -71,7 +77,7 @@ public String getOsDisplayName() {
         return osDisplayName;
     }
 
-    public Map getDetails() {
+    public Map<String, String> getDetails() {

Review Comment:
   The getDetails() method initializes a new empty map and then checks if it is 
not empty, which will always return false, effectively ignoring the 'details' 
parameter intended to be processed. Also, remove the redundant semicolon in the 
map initialization ("new 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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to