mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
fix imageurl in notification test
skip unnecessary http -> https redirect, which could make problems on some notifiers
This commit is contained in:
parent
fc41d10b9e
commit
6d578dd372
@ -56,7 +56,7 @@ func createTestEvalContext(cmd *NotificationTestCommand) *EvalContext {
|
|||||||
|
|
||||||
ctx := NewEvalContext(context.Background(), testRule)
|
ctx := NewEvalContext(context.Background(), testRule)
|
||||||
if cmd.Settings.Get("uploadImage").MustBool(true) {
|
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.IsTestRun = true
|
||||||
ctx.Firing = true
|
ctx.Firing = true
|
||||||
|
Loading…
Reference in New Issue
Block a user