Sophie

Sophie

distrib > Mageia > cauldron > x86_64 > media > core-release-src > by-pkgid > 523161394f80d4d73f7854d30f1463fd > files > 1

golang-github-prometheus-alertmanager-0.23.0-4.mga9.src.rpm

From 7b8a5145cd5251e7cd00bf3f4b23e0145f9ccee7 Mon Sep 17 00:00:00 2001
From: SuperQ <superq@gmail.com>
Date: Mon, 25 Jul 2022 20:49:29 +0200
Subject: [PATCH] Update config test to match new prometheus common.

Signed-off-by: SuperQ <superq@gmail.com>
---
 config/config_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/config/config_test.go b/config/config_test.go
index 921eabd423..7e7a1fee6e 100644
--- a/config/config_test.go
+++ b/config/config_test.go
@@ -855,6 +855,7 @@ func TestEmptyFieldsAndRegex(t *testing.T) {
 		Global: &GlobalConfig{
 			HTTPConfig: &commoncfg.HTTPClientConfig{
 				FollowRedirects: true,
+				EnableHTTP2:     true,
 			},
 			ResolveTimeout:  model.Duration(5 * time.Minute),
 			SMTPSmarthost:   HostPort{Host: "localhost", Port: "25"},