[v9.3.x] API: Fix delete user failure due to quota not enabled (#59879)

API: Fix delete user failure due to quota not enabled (#59875)

(cherry picked from commit 4259b6bf58)

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
This commit is contained in:
Grot (@grafanabot)
2022-12-06 08:17:24 -05:00
committed by GitHub
co-authored by Sofia Papagiannaki
parent 94e5ee70a5
commit 7a7bee20af
+1 -1
View File
@@ -33,7 +33,7 @@ func (s *serviceDisabled) CheckQuotaReached(ctx context.Context, targetSrv quota
}
func (s *serviceDisabled) DeleteQuotaForUser(ctx context.Context, userID int64) error {
return quota.ErrDisabled
return nil
}
func (s *serviceDisabled) RegisterQuotaReporter(e *quota.NewUsageReporter) error {