-
Notifications
You must be signed in to change notification settings - Fork 26
Port to ocidir 0.3, containers-image-proxy 0.7 #663
Conversation
71967c6
to
d5cd8b0
Compare
Ah sorry, my porting to |
Holy cow is that an absolutely cryptic compiler error now 😆 |
Update containers-image-proxy to 0.7.0 Signed-off-by: John Eckersberg <[email protected]>
d5cd8b0
to
e4468f7
Compare
} | ||
}; | ||
|
||
let driver = async { driver.await.map_err(Into::into) }; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems to be enough to accomodate the thiserror
change, took me longer than I would care to admit to understand the compiler error before.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I struggled a lot with this when I was learning Rust for sure. The thing that is subtle is that the ?
operator automatically also does Into::into
, which means in cases where you're changing the error type (like this) but not using ?
(which happens in most cases) you suddenly have to think about these conversions.
Ah, test run hit #664 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but we also need to remember this is a semver-breaking change for us, so we'll need to bump the version for the next release.
Fallout in containers/bootc#800 I have yanked version 0.15.0. |
Signed-off-by: John Eckersberg [email protected]