radicle: Fix `storage::refs::Error::is_not_found`
Detection of errors of the "not found" kind does not account for the respective variant in `sigrefs::read::error::Read`. Fix this by adding it.
This commit is contained in:
parent
748ddade2f
commit
c824d317e4
|
|
@ -50,6 +50,7 @@ impl Error {
|
||||||
pub fn is_not_found(&self) -> bool {
|
pub fn is_not_found(&self) -> bool {
|
||||||
match self {
|
match self {
|
||||||
Self::Git(e) => e.is_not_found(),
|
Self::Git(e) => e.is_not_found(),
|
||||||
|
Self::Read(sigrefs::read::error::Read::MissingSigrefs { .. }) => true,
|
||||||
_ => false,
|
_ => false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue