From f00079e8b4df0f2daaeeb29c540ae5088600db66 Mon Sep 17 00:00:00 2001 From: Mohammed Date: Wed, 17 May 2023 19:33:28 +0330 Subject: [PATCH 1/3] add WhitelistedPKs to services struct --- pkg/visor/visorconfig/services.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/visor/visorconfig/services.go b/pkg/visor/visorconfig/services.go index d49f122a79..e007adca7d 100644 --- a/pkg/visor/visorconfig/services.go +++ b/pkg/visor/visorconfig/services.go @@ -65,4 +65,5 @@ type Services struct { ServiceDiscovery string `json:"service_discovery"` StunServers []string `json:"stun_servers"` DNSServer string `json:"dns_server"` + WhitelistedPKs []string `json:"whitelisted_pks"` } From 80aaa06b841daba81637ab49dd452915327df2c4 Mon Sep 17 00:00:00 2001 From: Mohammed Date: Wed, 17 May 2023 19:46:11 +0330 Subject: [PATCH 2/3] change its name to SurveyWhitelists --- pkg/visor/visorconfig/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/visor/visorconfig/services.go b/pkg/visor/visorconfig/services.go index e007adca7d..9f6e299e89 100644 --- a/pkg/visor/visorconfig/services.go +++ b/pkg/visor/visorconfig/services.go @@ -65,5 +65,5 @@ type Services struct { ServiceDiscovery string `json:"service_discovery"` StunServers []string `json:"stun_servers"` DNSServer string `json:"dns_server"` - WhitelistedPKs []string `json:"whitelisted_pks"` + SurveyWhitelists []string `json:"survey_whitelists"` } From f3cf74db5b24c199ff367da8882ca5fea1787d51 Mon Sep 17 00:00:00 2001 From: Mohammed Date: Wed, 17 May 2023 19:55:44 +0330 Subject: [PATCH 3/3] change to SurveyWhitelist --- pkg/visor/visorconfig/services.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/visor/visorconfig/services.go b/pkg/visor/visorconfig/services.go index 9f6e299e89..27c761ce5e 100644 --- a/pkg/visor/visorconfig/services.go +++ b/pkg/visor/visorconfig/services.go @@ -65,5 +65,5 @@ type Services struct { ServiceDiscovery string `json:"service_discovery"` StunServers []string `json:"stun_servers"` DNSServer string `json:"dns_server"` - SurveyWhitelists []string `json:"survey_whitelists"` + SurveyWhitelist []string `json:"survey_whitelist"` }