Skip to content

Commit

Permalink
Include from- and to-type in Slack notification (more like the email)
Browse files Browse the repository at this point in the history
  • Loading branch information
neilprosser committed Mar 25, 2015
1 parent 82c47b7 commit aac4dfb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private String formatContent(List<String> emojis, Check check, Subscription subs
String alertsString = Joiner.on("\n").join(transform(alerts, new Function<Alert, String>() {
@Override
public String apply(Alert input) {
return String.format("%s = %s", input.getTarget(), input.getValue().toString());
return String.format("%s = %s (%s to %s)", input.getTarget(), input.getValue().toString(), input.getFromType(), input.getToType());
}
}));

Expand Down

0 comments on commit aac4dfb

Please sign in to comment.