forked from Deuxfleurs/garage
Replace an already done check by unreachable!()
This commit is contained in:
parent
2f4378a9c4
commit
f496e41ef4
1 changed files with 1 additions and 3 deletions
|
@ -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"
|
|
||||||
)));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue