Skip to content

Commit e01730a

Browse files
Update server/src/main/java/com/cloud/template/TemplateManagerImpl.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent de7290b commit e01730a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/src/main/java/com/cloud/template/TemplateManagerImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2427,7 +2427,7 @@ public TemplateType validateTemplateType(BaseCmd cmd, boolean isAdmin, boolean i
24272427
} else if (cmd instanceof UpdateTemplateCmd) {
24282428
throw new InvalidParameterValueException(String.format("Users can not update Template to template type %s.", templateType));
24292429
} else if (cmd instanceof GetUploadParamsForTemplateCmd) {
2430-
throw new InvalidParameterValueException(String.format("Users can not upload Template to template type %s.", templateType));
2430+
throw new InvalidParameterValueException(String.format("Users can not request upload parameters for Template with template type %s.", templateType));
24312431
}
24322432
}
24332433
return templateType;

0 commit comments

Comments
 (0)