aboutsummaryrefslogtreecommitdiff
path: root/src/garage/secrets.rs
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2024-02-12 10:42:17 +0100
committerAlex Auvolat <alex@adnab.me>2024-02-12 10:42:17 +0100
commit25e5738568b2a021de3a79af3282b2b5feaee9e8 (patch)
treec1884e31cfc049d37db8cd7ceb6f1bed3a866767 /src/garage/secrets.rs
parent198188017cc7b956885e4b51c979cb3554276e4f (diff)
downloadgarage-25e5738568b2a021de3a79af3282b2b5feaee9e8.tar.gz
garage-25e5738568b2a021de3a79af3282b2b5feaee9e8.zip
[fix-secrets-695] take into account rpc secret from file for cli commands (fix #695)
Diffstat (limited to 'src/garage/secrets.rs')
-rw-r--r--src/garage/secrets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garage/secrets.rs b/src/garage/secrets.rs
index 8c89a262..a2c64cef 100644
--- a/src/garage/secrets.rs
+++ b/src/garage/secrets.rs
@@ -83,7 +83,7 @@ pub fn fill_secrets(mut config: Config, secrets: Secrets) -> Result<Config, Erro
Ok(config)
}
-fn fill_secret(
+pub(crate) fn fill_secret(
config_secret: &mut Option<String>,
config_secret_file: &Option<String>,
cli_secret: &Option<String>,