Skip to content

Commit 7befcf1

Browse files
committed
Fix TemplateApiType join arguments
1 parent fba666f commit 7befcf1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2447,7 +2447,7 @@ public TemplateType validateTemplateType(BaseCmd cmd, boolean isAdmin, boolean i
24472447
templateType = TemplateType.valueOf(newType.toUpperCase());
24482448
} catch (IllegalArgumentException ex) {
24492449
throw new InvalidParameterValueException(String.format("Please specify a valid templatetype: %s",
2450-
org.apache.commons.lang3.StringUtils.join(",", TemplateApiType.values())));
2450+
org.apache.commons.lang3.StringUtils.join(TemplateApiType.values(), ",")));
24512451
}
24522452
}
24532453
if (templateType != null) {

0 commit comments

Comments
 (0)