Remote Alertmanager: Use the correct OrgID when creating the store (#111634)

* Remote Alertmanager: Use the correct OrgID when creating the store

* fix test
This commit is contained in:
Santiago
2025-09-25 16:53:07 +00:00
committed by GitHub
parent 6629021f36
commit dab39c873f
4 changed files with 9 additions and 8 deletions
@@ -60,7 +60,7 @@ func TestMultiorgAlertmanager_RemoteSecondaryMode(t *testing.T) {
}
secretsService := secretsManager.SetupTestService(t, fakes.NewFakeSecretsStore())
override := remote.NewRemoteSecondaryFactory(remoteAMCfg,
notifier.NewFileStore(remoteAMCfg.OrgID, kvStore),
kvStore,
configStore,
10*time.Second,
notifier.NewCrypto(secretsService, configStore, log.NewNopLogger()),