diff options
author | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-06 16:53:39 +0200 |
---|---|---|
committer | Trinity Pointard <trinity.pointard@gmail.com> | 2021-04-06 16:53:39 +0200 |
commit | 6cbc8d6ec93b832a301a5402f1b1ae70b07a2be3 (patch) | |
tree | ead4cd90d954db614d4c3e60ef06c2844108d6d6 /src/api | |
parent | b3b0b20d722bd001ef971b029a2165a2407fec83 (diff) | |
download | garage-6cbc8d6ec93b832a301a5402f1b1ae70b07a2be3.tar.gz garage-6cbc8d6ec93b832a301a5402f1b1ae70b07a2be3.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") } } } |