sureshanaparti commented on code in PR #12768:
URL: https://github.com/apache/cloudstack/pull/12768#discussion_r2922658566


##########
server/src/main/java/com/cloud/template/TemplateManagerImpl.java:
##########
@@ -2426,6 +2426,8 @@ public TemplateType validateTemplateType(BaseCmd cmd, 
boolean isAdmin, boolean i
                 throw new InvalidParameterValueException(String.format("Users 
can not register Template with template type %s.", templateType));
             } else if (cmd instanceof UpdateTemplateCmd) {
                 throw new InvalidParameterValueException(String.format("Users 
can not update Template to template type %s.", templateType));

Review Comment:
   ```suggestion
                   throw new 
InvalidParameterValueException(String.format("Users can not update Template 
with template type %s.", templateType));
   ```
   
   in sync with other msgs



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