Alerting: Update alerting module to 863b09716e600ae15235b0fe2f996a389becd850 (#107027)
* [create-pull-request] automated change * Fix TestRemoveSecretsForContactPoint test --------- Co-authored-by: alexander-akhmetov <1875873+alexander-akhmetov@users.noreply.github.com> Co-authored-by: Alexander Akhmetov <me@alx.cx>
This commit is contained in:
co-authored by
alexander-akhmetov
Alexander Akhmetov
parent
ef6e28b955
commit
c4c2510a04
@@ -426,6 +426,9 @@ func TestRemoveSecretsForContactPoint(t *testing.T) {
|
||||
"jira": func(settings map[string]any) { // add additional field to the settings because valid config does not allow it to be specified along with password
|
||||
settings["api_token"] = "test-token"
|
||||
},
|
||||
"oncall": func(settings map[string]any) { // add authorization_credentials field since it's expected as a secret field
|
||||
settings["authorization_credentials"] = "test-authz-creds"
|
||||
},
|
||||
}
|
||||
|
||||
configs := notify.AllKnownConfigsForTesting
|
||||
|
||||
Reference in New Issue
Block a user