From aa0d0f99435828ccae9e8e07b3e6c04f910f0468 Mon Sep 17 00:00:00 2001 From: Scott Bishel Date: Mon, 13 Jan 2020 10:54:30 -0700 Subject: [PATCH] MM-21102: Add ExperimentalSettings.UseNewSAMLLibrary to diagnostics (#13543) * add UseNewSAMLLibrary to diagnostics.go * add UseNewSAMLLibrary to diagnostics.go * add TRACK_CONFIG_EXPERIMENTAL to expected results Co-authored-by: mattermod --- app/diagnostics.go | 1 + app/diagnostics_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/app/diagnostics.go b/app/diagnostics.go index 320ef8e54f..e6916ec73c 100644 --- a/app/diagnostics.go +++ b/app/diagnostics.go @@ -562,6 +562,7 @@ func (a *App) trackConfig() { "link_metadata_timeout_milliseconds": *cfg.ExperimentalSettings.LinkMetadataTimeoutMilliseconds, "enable_click_to_reply": *cfg.ExperimentalSettings.EnableClickToReply, "restrict_system_admin": *cfg.ExperimentalSettings.RestrictSystemAdmin, + "use_new_saml_library": *cfg.ExperimentalSettings.UseNewSAMLLibrary, }) a.SendDiagnostic(TRACK_CONFIG_ANALYTICS, map[string]interface{}{ diff --git a/app/diagnostics_test.go b/app/diagnostics_test.go index 07d8b5c604..1bc9be0f5e 100644 --- a/app/diagnostics_test.go +++ b/app/diagnostics_test.go @@ -163,6 +163,7 @@ func TestDiagnostics(t *testing.T) { TRACK_CONFIG_METRICS, TRACK_CONFIG_SUPPORT, TRACK_CONFIG_NATIVEAPP, + TRACK_CONFIG_EXPERIMENTAL, TRACK_CONFIG_ANALYTICS, TRACK_CONFIG_PLUGIN, TRACK_ACTIVITY,