config: unify BasicService config within existing services
There are no changes visible from the user side (at least for those users who doesn't put Prometheus's or pprof's port in quotes), just internal refactoring. From now and on, BasicService configuration is used by RPC server config, TLS for RPC server, pprof and Prometheus.
This commit is contained in:
parent
d6b99a9a27
commit
6b4dd5703e
9 changed files with 63 additions and 16 deletions
|
@ -330,7 +330,9 @@ func TestConfigureAddresses(t *testing.T) {
|
|||
cfg := &config.ApplicationConfiguration{
|
||||
Address: defaultAddress,
|
||||
RPC: config.RPC{
|
||||
Address: customAddress,
|
||||
BasicService: config.BasicService{
|
||||
Address: customAddress,
|
||||
},
|
||||
},
|
||||
}
|
||||
configureAddresses(cfg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue