Skip to content

Commit 4bcda33

Browse files
committed
Fix the REPORTDB variables
1 parent d68380e commit 4bcda33

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

mgradm/shared/templates/serverEnvironmentTemplate.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ EXTERNALDB_PROVIDER="{{ .DB.Provider }}"
3434
{{- end -}}
3535
{{- end -}}
3636
{{- if .ReportDB }}
37-
REPORTDB_NAME="{{ .ReportDB.Name }}"
38-
REPORTDB_HOST="{{ .ReportDB.Host }}"
39-
REPORTDB_PORT="{{ .ReportDB.GetPort }}"
37+
REPORT_DB_NAME="{{ .ReportDB.Name }}"
38+
REPORT_DB_HOST="{{ .ReportDB.Host }}"
39+
REPORT_DB_PORT="{{ .ReportDB.GetPort }}"
4040
{{- end -}}
4141
{{- if .Debug }}
4242
DEBUG_JAVA="{{ .Debug }}"

mgradm/shared/templates/templates_test.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ EMAILFROM="notifications@example.com"
191191
MANAGER_DB_NAME="mlm"
192192
MANAGER_DB_HOST="db"
193193
MANAGER_DB_PORT="5432"
194-
REPORTDB_NAME="reportdb"
195-
REPORTDB_HOST="reportdb"
196-
REPORTDB_PORT="5432"
194+
REPORT_DB_NAME="reportdb"
195+
REPORT_DB_HOST="reportdb"
196+
REPORT_DB_PORT="5432"
197197
ORGANIZATION="Example.com"
198198
ADMIN_FIRSTNAME="Test"
199199
ADMIN_LASTNAME="Admin"`,
@@ -221,9 +221,9 @@ MANAGER_DB_NAME="mlm"
221221
MANAGER_DB_HOST="db.example.com"
222222
MANAGER_DB_PORT="5431"
223223
EXTERNALDB_PROVIDER="aws"
224-
REPORTDB_NAME="reportdb"
225-
REPORTDB_HOST="reportdb.example.com"
226-
REPORTDB_PORT="5432"
224+
REPORT_DB_NAME="reportdb"
225+
REPORT_DB_HOST="reportdb.example.com"
226+
REPORT_DB_PORT="5432"
227227
ORGANIZATION="My Example.com"
228228
ADMIN_FIRSTNAME="Test"
229229
ADMIN_LASTNAME="Admin"`,

0 commit comments

Comments
 (0)