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:
@@ -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()),
|
||||
|
||||
Reference in New Issue
Block a user