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


##########
server/src/main/java/com/cloud/template/TemplateManagerImpl.java:
##########
@@ -2447,7 +2447,7 @@ public TemplateType validateTemplateType(BaseCmd cmd, 
boolean isAdmin, boolean i
                 templateType = TemplateType.valueOf(newType.toUpperCase());
             } catch (IllegalArgumentException ex) {
                 throw new InvalidParameterValueException(String.format("Please 
specify a valid templatetype: %s",
-                    org.apache.commons.lang3.StringUtils.join(",", 
TemplateApiType.values())));
+                    
org.apache.commons.lang3.StringUtils.join(TemplateApiType.values(), ",")));

Review Comment:
   ```suggestion
                     StringUtils.join(TemplateApiType.values(), ",")));
   ```
   
   com.cloud.utils.StringUtils inherits this.



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