diff options
author | Alex <alex@adnab.me> | 2024-11-07 11:11:12 +0000 |
---|---|---|
committer | Alex <alex@adnab.me> | 2024-11-07 11:11:12 +0000 |
commit | 78de7b5bdef9e3b9f52e15710209001e146b0af3 (patch) | |
tree | 07219e74caffc8c2ab3b67c5e6ecf57452bd5c43 /src | |
parent | a18b3f0d1fb932df5abce6f5e79169ca01006e3b (diff) | |
parent | 9bd9e392ba5db16b7f0aa6d5ae6aea70307f3960 (diff) | |
download | garage-78de7b5bdef9e3b9f52e15710209001e146b0af3.tar.gz garage-78de7b5bdef9e3b9f52e15710209001e146b0af3.zip |
Merge pull request 'fix bit/byte inversion in rpc secret error message' (#898) from trinity-1686a/garage:rpc-comment into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/garage/pulls/898
Diffstat (limited to 'src')
-rw-r--r-- | src/model/garage.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/garage.rs b/src/model/garage.rs index 363b02dd..29e0bddd 100644 --- a/src/model/garage.rs +++ b/src/model/garage.rs @@ -141,7 +141,7 @@ impl Garage { )?) .ok() .and_then(|x| NetworkKey::from_slice(&x)) - .ok_or_message("Invalid RPC secret key: expected 32 bits of entropy, please check the documentation for requirements")?; + .ok_or_message("Invalid RPC secret key: expected 32 bytes of random hex, please check the documentation for requirements")?; let (replication_factor, consistency_mode) = parse_replication_mode(&config)?; |