Chore: Fix "manger" typo (#61649)

fix mangers -> managers
This commit is contained in:
Santiago
2023-01-17 20:13:27 -03:00
committed by GitHub
parent 7e7daf48f4
commit b5fa9e3501
3 changed files with 3 additions and 3 deletions

View File

@@ -170,7 +170,7 @@ func (moa *MultiOrgAlertmanager) SyncAlertmanagersForOrgs(ctx context.Context, o
moa.alertmanagersMtx.Lock()
for _, orgID := range orgIDs {
if _, isDisabledOrg := moa.settings.UnifiedAlerting.DisabledOrgs[orgID]; isDisabledOrg {
moa.logger.Debug("skipping syncing Alertmanger for disabled org", "org", orgID)
moa.logger.Debug("skipping syncing Alertmanager for disabled org", "org", orgID)
continue
}
orgsFound[orgID] = struct{}{}

View File

@@ -430,7 +430,7 @@ func TestSchedule_ruleRoutine(t *testing.T) {
}
expectedToBeSent++
}
require.Greaterf(t, expectedToBeSent, 0, "State manger was expected to return at least one state that can be expired")
require.Greaterf(t, expectedToBeSent, 0, "State manager was expected to return at least one state that can be expired")
t.Run("should do nothing if version in channel is the same", func(t *testing.T) {
updateChan <- ruleVersion(rule.Version - 1)