You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ap...@apache.org on 2018/11/20 01:36:34 UTC
[incubator-pinot] branch master updated: [TE] Some minor bug fixes
(#3521)
This is an automated email from the ASF dual-hosted git repository.
apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new d5ba9b0 [TE] Some minor bug fixes (#3521)
d5ba9b0 is described below
commit d5ba9b05799d2b5dc0c255bb242db12ea9e649a6
Author: Akshay Rai <ak...@gmail.com>
AuthorDate: Mon Nov 19 17:36:29 2018 -0800
[TE] Some minor bug fixes (#3521)
---
.../thirdeye/detection/alert/scheme/DetectionEmailAlerter.java | 1 +
.../com/linkedin/thirdeye/detector/holiday-anomaly-report.ftl | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/detection/alert/scheme/DetectionEmailAlerter.java b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/detection/alert/scheme/DetectionEmailAlerter.java
index 5d763e2..6e100d2 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/detection/alert/scheme/DetectionEmailAlerter.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/detection/alert/scheme/DetectionEmailAlerter.java
@@ -146,6 +146,7 @@ public class DetectionEmailAlerter extends DetectionAlertScheme {
HtmlEmail email = emailEntity.getContent();
email.setFrom(this.config.getFrom());
email.setTo(AlertUtils.toAddress(recipients.getTo()));
+ email.setSubject(email.getSubject());
if (CollectionUtils.isNotEmpty(recipients.getCc())) {
email.setCc(AlertUtils.toAddress(recipients.getCc()));
}
diff --git a/thirdeye/thirdeye-pinot/src/main/resources/com/linkedin/thirdeye/detector/holiday-anomaly-report.ftl b/thirdeye/thirdeye-pinot/src/main/resources/com/linkedin/thirdeye/detector/holiday-anomaly-report.ftl
index 30d67ed..f1a519f 100644
--- a/thirdeye/thirdeye-pinot/src/main/resources/com/linkedin/thirdeye/detector/holiday-anomaly-report.ftl
+++ b/thirdeye/thirdeye-pinot/src/main/resources/com/linkedin/thirdeye/detector/holiday-anomaly-report.ftl
@@ -138,12 +138,12 @@
</td>
<td style="padding:14px 24px;">
- <span style=" white-space:nowrap; font-size: 14px; color:#606060;">(${holiday.startTime?number_to_date})</span>
+ <span style="white-space:nowrap; font-size: 14px; color:#606060;">(${holiday.startTime?number_to_date})</span>
</td>
<#if holiday.targetDimensionMap["countryCode"]??>
<td style="padding:14px 24px;">
- <span style="color: rgba(0,0,0,0.6); font-size: 12px;">${holiday.targetDimensionMap["countryCode"]?join(", ")}</span>
+ <span style="white-space:nowrap; color: rgba(0,0,0,0.6); font-size: 12px;">${holiday.targetDimensionMap["countryCode"]?join(", ")}</span>
</td>
</#if>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org