Chore: delete team related entries for an org after the org gets deleted (#76706)

* delete team related entries for an org after the org gets deleted

* fix tests

* one more test fix
This commit is contained in:
Ieva
2023-10-18 10:40:26 +01:00
committed by GitHub
parent 42f5e42b54
commit 1fc375855c
5 changed files with 28 additions and 2 deletions
+4
View File
@@ -241,3 +241,7 @@ func readQuotaConfig(cfg *setting.Cfg) (*quota.Map, error) {
limits.Set(userTag, cfg.Quota.User.Org)
return limits, nil
}
func (s *Service) RegisterDelete(query string) {
s.store.RegisterDelete(query)
}