diff options
author | trinity-1686a <trinity@deuxfleurs.fr> | 2024-11-07 00:29:26 +0100 |
---|---|---|
committer | trinity-1686a <trinity@deuxfleurs.fr> | 2024-11-07 00:29:26 +0100 |
commit | 9bd9e392ba5db16b7f0aa6d5ae6aea70307f3960 (patch) | |
tree | 07219e74caffc8c2ab3b67c5e6ecf57452bd5c43 /src | |
parent | a18b3f0d1fb932df5abce6f5e79169ca01006e3b (diff) | |
download | garage-9bd9e392ba5db16b7f0aa6d5ae6aea70307f3960.tar.gz garage-9bd9e392ba5db16b7f0aa6d5ae6aea70307f3960.zip |
fix bit/byte inversion in rpc secret error message
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)?; |