[MM-25388] Add telemetry for default picture attribute (#14661)

* MM-25388 Add telemetry for default picture attribute

* Rename to isempty

* rename to isnotempty
Этот коммит содержится в:
Farhan Munshi
2020-05-27 10:24:58 -04:00
коммит произвёл GitHub
родитель ae328153d5
Коммит 198fdc8221

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

@@ -560,6 +560,7 @@ func (a *App) trackConfig() {
"isdefault_group_id_attribute": isDefault(*cfg.LdapSettings.GroupIdAttribute, model.LDAP_SETTINGS_DEFAULT_GROUP_ID_ATTRIBUTE),
"isempty_guest_filter": isDefault(*cfg.LdapSettings.GuestFilter, ""),
"isempty_admin_filter": isDefault(*cfg.LdapSettings.AdminFilter, ""),
"isnotempty_picture_attribute": !isDefault(*cfg.LdapSettings.PictureAttribute, ""),
})
a.SendDiagnostic(TRACK_CONFIG_COMPLIANCE, map[string]interface{}{