diff --git a/src/main/java/com/netflix/simianarmy/aws/janitor/rule/generic/UntaggedRule.java b/src/main/java/com/netflix/simianarmy/aws/janitor/rule/generic/UntaggedRule.java index 488ef4d4..216129a3 100644 --- a/src/main/java/com/netflix/simianarmy/aws/janitor/rule/generic/UntaggedRule.java +++ b/src/main/java/com/netflix/simianarmy/aws/janitor/rule/generic/UntaggedRule.java @@ -74,8 +74,7 @@ public boolean isValid(Resource resource) { Validate.notNull(resource); for (String tagName : this.tagNames) { if (((AWSResource) resource).getTag(tagName) == null) { - String terminationReason = String.format("does not have the required tag %s", resource.getId(), - tagName); + String terminationReason = String.format(" does not have the required tag %s", tagName); LOGGER.error(String.format("The resource %s %s", resource.getId(), terminationReason)); DateTime now = new DateTime(calendar.now().getTimeInMillis()); if (resource.getExpectedTerminationTime() == null) {