diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-06 16:53:39 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-04-27 16:53:48 +0200 |
commit | 24d605fb05830977fe58cff5a1dbce09a75bd36a (patch) | |
tree | 022938994c174f6785a9b3e0b021d8ae9c2c0b65 /src/api | |
parent | ae4982c309a72b3d6fa8a1ea6ae37e4247c750ec (diff) | |
download | garage-24d605fb05830977fe58cff5a1dbce09a75bd36a.tar.gz garage-24d605fb05830977fe58cff5a1dbce09a75bd36a.zip |
mark branch as unreachable
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/s3_put.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/s3_put.rs b/src/api/s3_put.rs index d2702940..d023bcef 100644 --- a/src/api/s3_put.rs +++ b/src/api/s3_put.rs @@ -313,7 +313,7 @@ impl BodyChunker { let block = self.buf.drain(..length).collect::<Vec<u8>>(); Ok(Some(block)) } else { - Ok(None) + unreachable!("FastCDC returned not chunk") } } } |