Move CustomServiceTermsEnabled to the correct table in diagnostics (#9521)

* Move CustomServiceTermsEnabled to the correct table in diagnostics

* Fix style error
Этот коммит содержится в:
Jason Blais
2018-10-04 07:43:42 -04:00
коммит произвёл Carlos Tadeu Panato Junior
родитель 8de9a61f7f
Коммит c4a52a48cb

Просмотреть файл

@@ -263,7 +263,6 @@ func (a *App) trackConfig() {
"experimental_limit_client_config": *cfg.ServiceSettings.ExperimentalLimitClientConfig,
"enable_email_invitations": *cfg.ServiceSettings.EnableEmailInvitations,
"experimental_channel_organization": *cfg.ServiceSettings.ExperimentalChannelOrganization,
"custom_service_terms_enabled": *cfg.SupportSettings.CustomServiceTermsEnabled,
})
a.SendDiagnostic(TRACK_CONFIG_TEAM, map[string]interface{}{
@@ -418,6 +417,7 @@ func (a *App) trackConfig() {
"isdefault_help_link": isDefault(*cfg.SupportSettings.HelpLink, model.SUPPORT_SETTINGS_DEFAULT_HELP_LINK),
"isdefault_report_a_problem_link": isDefault(*cfg.SupportSettings.ReportAProblemLink, model.SUPPORT_SETTINGS_DEFAULT_REPORT_A_PROBLEM_LINK),
"isdefault_support_email": isDefault(*cfg.SupportSettings.SupportEmail, model.SUPPORT_SETTINGS_DEFAULT_SUPPORT_EMAIL),
"custom_service_terms_enabled": *cfg.SupportSettings.CustomServiceTermsEnabled,
})
a.SendDiagnostic(TRACK_CONFIG_LDAP, map[string]interface{}{