Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Commit

Permalink
Add log line to avoid ambiguity (#3177)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyao1991 authored and nwangtw committed Jan 29, 2019
1 parent e82293b commit d83a0be
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -284,9 +284,9 @@ private ByteAmount getContainerRamPadding(List<TopologyAPI.Config.KeyValue> topo
if (!containerResHint.equals(notSpecified)
&& usedRes.greaterThan(containerResHint.minus(containerResPadding))) {
throw new PackingException(String.format("Invalid packing plan generated. "
+ "Total instance %s in a container (%s) have exceeded "
+ "Total instance %s in a container (%s) + padding(%s) have exceeded "
+ "the container-level constraint of %s.",
resourceType, usedRes.toString(), containerResHint));
resourceType, usedRes.toString(), containerResPadding.toString(), containerResHint));
}

// calculate resource for the remaining unspecified instances if any
Expand Down

0 comments on commit d83a0be

Please sign in to comment.