@@ -128,7 +128,7 @@ var AllKnownConfigsForTesting = map[string]NotifierConfigTest{
128128 NotifierType : "prometheus-alertmanager" ,
129129 Config : alertmanager .FullValidConfigForTesting ,
130130 Secrets : alertmanager .FullValidSecretsForTesting ,
131- commonHttpConfigUnsupported : true ,
131+ commonHTTPConfigUnsupported : true ,
132132 },
133133 "dingding" : {NotifierType : "dingding" ,
134134 Config : dinding .FullValidConfigForTesting ,
@@ -138,7 +138,7 @@ var AllKnownConfigsForTesting = map[string]NotifierConfigTest{
138138 },
139139 "email" : {NotifierType : "email" ,
140140 Config : email .FullValidConfigForTesting ,
141- commonHttpConfigUnsupported : true ,
141+ commonHTTPConfigUnsupported : true ,
142142 },
143143 "googlechat" : {NotifierType : "googlechat" ,
144144 Config : googlechat .FullValidConfigForTesting ,
@@ -159,7 +159,7 @@ var AllKnownConfigsForTesting = map[string]NotifierConfigTest{
159159 "mqtt" : {NotifierType : "mqtt" ,
160160 Config : mqtt .FullValidConfigForTesting ,
161161 Secrets : mqtt .FullValidSecretsForTesting ,
162- commonHttpConfigUnsupported : true ,
162+ commonHTTPConfigUnsupported : true ,
163163 },
164164 "oncall" : {NotifierType : "oncall" ,
165165 Config : oncall .FullValidConfigForTesting ,
@@ -184,11 +184,11 @@ var AllKnownConfigsForTesting = map[string]NotifierConfigTest{
184184 "slack" : {NotifierType : "slack" ,
185185 Config : slack .FullValidConfigForTesting ,
186186 Secrets : slack .FullValidSecretsForTesting ,
187- commonHttpConfigUnsupported : true ,
187+ commonHTTPConfigUnsupported : true ,
188188 },
189189 "sns" : {NotifierType : "sns" ,
190190 Config : sns .FullValidConfigForTesting ,
191- commonHttpConfigUnsupported : true ,
191+ commonHTTPConfigUnsupported : true ,
192192 },
193193 "teams" : {NotifierType : "teams" ,
194194 Config : teams .FullValidConfigForTesting ,
@@ -259,7 +259,7 @@ type NotifierConfigTest struct {
259259 NotifierType string
260260 Config string
261261 Secrets string
262- commonHttpConfigUnsupported bool
262+ commonHTTPConfigUnsupported bool
263263}
264264
265265func (n NotifierConfigTest ) GetRawNotifierConfig (name string ) * GrafanaIntegrationConfig {
@@ -275,7 +275,7 @@ func (n NotifierConfigTest) GetRawNotifierConfig(name string) *GrafanaIntegratio
275275 }
276276
277277 config := []byte (n .Config )
278- if ! n .commonHttpConfigUnsupported {
278+ if ! n .commonHTTPConfigUnsupported {
279279 var err error
280280 config , err = MergeSettings ([]byte (n .Config ), []byte (FullValidHTTPConfigForTesting ))
281281 if err != nil {
0 commit comments