mirror of
https://github.com/deuxfleurs-org/garage.git
synced 2026-08-27 23:47:29 +00:00
Replace an already done check by unreachable!()
This commit is contained in:
@@ -175,9 +175,7 @@ impl AdminRpcHandler {
|
|||||||
|
|
||||||
Ok(AdminRPC::Ok(msg.to_string()))
|
Ok(AdminRPC::Ok(msg.to_string()))
|
||||||
} else {
|
} else {
|
||||||
return Err(Error::Message(format!(
|
unreachable!();
|
||||||
"Bucket is deleted in update_bucket_key"
|
|
||||||
)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user