Skip to content

Fix EE namespacing of DesignsCounterService

Luke Duncalfe requested to merge fix-ee-namespace-for-designs-counter into master

What does this MR do?

Although all tests were passing, SaveDesignsService would error in development environment when attempting to increment the counter added in https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14779 with:

NameError (uninitialized constant EE::Gitlab::UsageCounters):
  ee/app/services/design_management/save_designs_service.rb:70:in `block in build_repository_action'
  ee/app/services/design_management/save_designs_service.rb:32:in `success'
  ee/app/services/design_management/save_designs_service.rb:21:in `execute'
  ee/app/graphql/mutations/design_management/upload.rb:19:in `resolve'

Does this MR meet the acceptance criteria?

Conformity

Performance and testing

Edited by Luke Duncalfe

Merge request reports