Skip to content

Commit

Permalink
API: Fix delete user failure due to quota not enabled (#59875)
Browse files Browse the repository at this point in the history
  • Loading branch information
papagian committed Dec 6, 2022
1 parent 3978502 commit 4259b6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/services/quota/quotaimpl/quota.go
Expand Up @@ -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 {
Expand Down

0 comments on commit 4259b6b

Please sign in to comment.