Skip to content

Commit 29ca42e

Browse files
jfmyers9Genevieve LEsperance
authored andcommitted
rename bbs_api_url -> bbs_address in json config
[#135203885] Signed-off-by: Genevieve LEsperance <[email protected]>
1 parent 8833d85 commit 29ca42e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/rep/config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ func (m StackMap) MarshalJSON() (b []byte, err error) {
5959

6060
type RepConfig struct {
6161
AdvertiseDomain string `json:"advertise_domain,omitempty"`
62-
BBSAddress string `json:"bbs_api_url"`
62+
BBSAddress string `json:"bbs_address"`
6363
BBSCACertFile string `json:"bbs_ca_cert_file"`
6464
BBSClientCertFile string `json:"bbs_client_cert_file"`
6565
BBSClientKeyFile string `json:"bbs_client_key_file"`

cmd/rep/config/config_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ var _ = Describe("RepConfig", func() {
8282
"communication_timeout": "11s",
8383
"evacuation_timeout" : "12s",
8484
"evacuation_polling_interval" : "13s",
85-
"bbs_api_url": "1.1.1.1:9091",
85+
"bbs_address": "1.1.1.1:9091",
8686
"advertise_domain": "test-domain",
8787
"enable_legacy_api_endpoints": true,
8888
"bbs_ca_cert_file": "/tmp/bbs_ca_cert",

0 commit comments

Comments
 (0)