Support website publishing #7
1 changed files with 1 additions and 3 deletions
|
@ -175,9 +175,7 @@ impl AdminRpcHandler {
|
|||
|
||||
Ok(AdminRPC::Ok(msg.to_string()))
|
||||
} else {
|
||||
quentin marked this conversation as resolved
|
||||
return Err(Error::Message(format!(
|
||||
"Bucket is deleted in update_bucket_key"
|
||||
)));
|
||||
unreachable!();
|
||||
}
|
||||
quentin marked this conversation as resolved
lx
commented
`update_bucket_key` ?
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue
Probably put
unreachable!()
in else branch ? Because get_existing_bucket does not return a bucket that is deleted. (I think so, this should be checked)Checked.
Indeed, it does not return deleted buckets.