weizhouapache commented on code in PR #12768:
URL: https://github.com/apache/cloudstack/pull/12768#discussion_r2922801233
##########
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:
@sureshanaparti
`templateType` here means the new type of the template. would it be good to
use `to` ?
--
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]