Skip to content

Commit aaabe66

Browse files
lucas-a-martinsGutoVeronezi
authored andcommitted
Update api/src/main/java/org/apache/cloudstack/config/ApiServiceConfiguration.java
Co-authored-by: Daniel Augusto Veronezi Salvador <[email protected]>
1 parent 035fbf4 commit aaabe66

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/main/java/org/apache/cloudstack/config/ApiServiceConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public class ApiServiceConfiguration implements Configurable {
3939
public static void validateEndpointUrl() {
4040
String csUrl = getApiServletPathValue();
4141
if (StringUtils.isBlank(csUrl) || StringUtils.containsAny(csUrl, "localhost", "127.0.0.1")) {
42-
LOGGER.error(String.format("Global setting %s cannot contain localhost or be blank. Current value: %s", ApiServletPath.key(), csUrl));
42+
LOGGER.error("Global setting [{}] cannot contain localhost or be blank. Current value: {}", ApiServletPath.key(), csUrl);
4343
throw new InvalidParameterValueException("Unable to complete this operation. Contact your cloud admin.");
4444
}
4545
}

0 commit comments

Comments
 (0)