Pearl1594 commented on code in PR #10663:
URL: https://github.com/apache/cloudstack/pull/10663#discussion_r2071487979


##########
server/src/main/java/com/cloud/configuration/ConfigurationManagerImpl.java:
##########
@@ -694,6 +694,10 @@ public boolean stop() {
     @Override
     @DB
     public String updateConfiguration(final long userId, final String name, 
final String category, String value, final String scope, final Long resourceId) 
{
+        if (getConfigurationTypeWrapperClass(name) == Boolean.class) {

Review Comment:
   I believe it is to provide null safety. 



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