DaanHoogland commented on code in PR #10790:
URL: https://github.com/apache/cloudstack/pull/10790#discussion_r2481931027


##########
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java:
##########
@@ -1030,6 +1030,10 @@ public Configuration updateConfiguration(final 
UpdateCfgCmd cmd) throws InvalidP
             category = config.getCategory();
         }
 
+        if (value == null) {
+            throw new InvalidParameterValueException(String.format("A value 
for the [%s] configuration must be informed.", name));

Review Comment:
   ```suggestion
               throw new InvalidParameterValueException(String.format(“The new 
value for the [%s] configuration must be given. It cannot be empty.", name));
   ```



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