From 6d578dd3723c55c0b4aa41bafb7b8e581b95556e Mon Sep 17 00:00:00 2001 From: genofire Date: Mon, 11 Mar 2019 00:23:07 +0100 Subject: [PATCH] fix imageurl in notification test skip unnecessary http -> https redirect, which could make problems on some notifiers --- pkg/services/alerting/test_notification.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/services/alerting/test_notification.go b/pkg/services/alerting/test_notification.go index 5ffc8dc58fc..22f6a2118b7 100644 --- a/pkg/services/alerting/test_notification.go +++ b/pkg/services/alerting/test_notification.go @@ -56,7 +56,7 @@ func createTestEvalContext(cmd *NotificationTestCommand) *EvalContext { ctx := NewEvalContext(context.Background(), testRule) if cmd.Settings.Get("uploadImage").MustBool(true) { - ctx.ImagePublicUrl = "http://grafana.org/assets/img/blog/mixed_styles.png" + ctx.ImagePublicUrl = "https://grafana.com/assets/img/blog/mixed_styles.png" } ctx.IsTestRun = true ctx.Firing = true