diff options
-rw-r--r-- | lib/entry/libimagentryutil/src/isa.rs | 2 | ||||
-rw-r--r-- | lib/entry/libimagentryutil/src/lib.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/entry/libimagentryutil/src/isa.rs b/lib/entry/libimagentryutil/src/isa.rs index 835fb5e7..85da65a1 100644 --- a/lib/entry/libimagentryutil/src/isa.rs +++ b/lib/entry/libimagentryutil/src/isa.rs @@ -81,7 +81,7 @@ impl Is for ::libimagstore::store::Entry { match self.get_header().read_bool(field).map_err(Error::from)? { Some(b) => Ok(b), - None => Err(format_err!("Field {} not available", field)), + None => Ok(false), } } diff --git a/lib/entry/libimagentryutil/src/lib.rs b/lib/entry/libimagentryutil/src/lib.rs index af86849e..769d2241 100644 --- a/lib/entry/libimagentryutil/src/lib.rs +++ b/lib/entry/libimagentryutil/src/lib.rs @@ -40,7 +40,7 @@ extern crate filters; extern crate toml; extern crate toml_query; -#[macro_use] extern crate failure; +extern crate failure; extern crate libimagstore; extern crate libimagerror; |