Fix artifacts from libimagstore::toml_ext times

This commit is contained in:
Matthias Beyer 2017-08-31 19:26:33 +02:00
parent 74ec12d5c2
commit ec639be3e1

View file

@ -249,6 +249,9 @@ impl RefStore for Store {
let e = REK::HeaderFieldAlreadyExistsError.into_error(); let e = REK::HeaderFieldAlreadyExistsError.into_error();
return Err(e).map_err_into(REK::HeaderFieldWriteError); return Err(e).map_err_into(REK::HeaderFieldWriteError);
}, },
Ok(None) => {
// Okay, we just inserted a new header value...
},
Err(e) => return Err(e).map_err_into(REK::HeaderFieldWriteError), Err(e) => return Err(e).map_err_into(REK::HeaderFieldWriteError),
_ => (), _ => (),
} }