From f5f2bce3444526952015f9a16aabfafc72257e55 Mon Sep 17 00:00:00 2001 From: Vivek Patel Date: Thu, 9 Dec 2021 16:55:53 +0530 Subject: [PATCH] Fix discovery settings --- system/types/app_settings.go | 42 ++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/system/types/app_settings.go b/system/types/app_settings.go index 96addba9e..08b8d0898 100644 --- a/system/types/app_settings.go +++ b/system/types/app_settings.go @@ -215,57 +215,57 @@ type ( Discovery struct { // Enable indexing - Enabled bool + Enabled bool `kv:"-" json:"enabled"` SystemUsers struct { // Enable indexing of users - Enabled bool - } `kv:"system-users"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"system-users" json:"system-users"` SystemApplications struct { // Enable indexing of applications - Enabled bool - } `kv:"system-applications"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"system-applications" json:"system-applications"` SystemRoles struct { // Enable indexing of roles - Enabled bool - } `kv:"system-roles"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"system-roles" json:"system-roles"` SystemTemplates struct { // Enable indexing of templates - Enabled bool - } `kv:"system-templates"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"system-templates" json:"system-templates"` AutomationWorkflows struct { // Enable indexing of workflows - Enabled bool - } `kv:"automation-workflows"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"automation-workflows" json:"automation-workflows"` ComposeNamespaces struct { // Enable indexing of compose namespaces - Enabled bool - } `kv:"compose-namespaces"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"compose-namespaces" json:"compose-namespaces"` ComposeCharts struct { // Enable indexing of compose charts - Enabled bool - } `kv:"compose-charts"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"compose-charts" json:"compose-charts"` ComposePages struct { // Enable indexing of compose pages - Enabled bool - } `kv:"compose-pages"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"compose-pages" json:"compose-pages"` ComposeModules struct { // Enable indexing of compose modules - Enabled bool - } `kv:"compose-modules"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"compose-modules" json:"compose-modules"` ComposeRecords struct { // Enable indexing of compose records - Enabled bool - } `kv:"compose-records"` + Enabled bool `kv:"-" json:"enabled"` + } `kv:"compose-records" json:"compose-records"` } `kv:"discovery"` }