diff options
author | Alex Auvolat <alex@adnab.me> | 2022-02-22 15:25:13 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-03-14 10:53:51 +0100 |
commit | dc8d0496ccd1b577fe6c0a1c172a8794531fa0a6 (patch) | |
tree | 88255af0ffbc8d42e704d65cf03b64b57239bd84 /src/util | |
parent | d9a35359bf8903f37f5f7aa77421ed35b626e0af (diff) | |
download | garage-dc8d0496ccd1b577fe6c0a1c172a8794531fa0a6.tar.gz garage-dc8d0496ccd1b577fe6c0a1c172a8794531fa0a6.zip |
Refactoring: rename config files, make modifications less invasive
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/config.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/config.rs b/src/util/config.rs index e763fcd5..7e8d4ba6 100644 --- a/src/util/config.rs +++ b/src/util/config.rs @@ -75,7 +75,7 @@ pub struct Config { pub s3_web: WebConfig, /// Configuration for the admin API endpoint - pub admin_api: AdminConfig, + pub admin: AdminConfig, } /// Configuration for S3 api @@ -103,9 +103,9 @@ pub struct WebConfig { #[derive(Deserialize, Debug, Clone)] pub struct AdminConfig { /// Address and port to bind for admin API serving - pub bind_addr: SocketAddr, + pub api_bind_addr: SocketAddr, /// OTLP server to where to export traces - pub otlp_export_traces_to: Option<String>, + pub trace_sink: Option<String>, } fn default_sled_cache_capacity() -> u64 { |