Skip to content

Commit cc62f60

Browse files
authored
Merge pull request #560 from LerianStudio/fix/module-name-prefix
fix: add reporter prefix to module name constants
2 parents 9a10a9c + 7f3de15 commit cc62f60

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/manager/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reporter Makefile
1+
# Reporter Makefile
22
ifneq ("$(wildcard .env.local)","")
33
include .env.local
44
export

components/worker/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Reporter Makefile
1+
# Reporter Makefile
22
ifneq ("$(wildcard .env.local)","")
33
include .env.local
44
export

pkg/constant/app.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ const ApplicationName = "reporter"
1111
const HeaderXTenantID = "X-Tenant-ID"
1212

1313
// ModuleManager identifies the manager component (REST API) for multi-tenant context.
14-
const ModuleManager = "manager"
14+
const ModuleManager = "reporter-manager"
1515

1616
// ModuleWorker identifies the worker component (RabbitMQ consumer) for multi-tenant context.
17-
const ModuleWorker = "worker"
17+
const ModuleWorker = "reporter-worker"
1818

1919
// ErrFileAccepted is the Fiber error message when no file is associated with the given form key.
2020
const ErrFileAccepted = "there is no uploaded file associated with the given key"

0 commit comments

Comments
 (0)