Skip to content

Migrate storage_datalake to azure_core::error::Error #795

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2022

Conversation

roeap
Copy link
Contributor

@roeap roeap commented Jun 10, 2022

towards #771

Took a stab at migrating datalake - thought this might be dependent on #792, but seems to compile...

@roeap roeap mentioned this pull request Jun 10, 2022
12 tasks
Copy link
Contributor

@ctaggart ctaggart left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the conversion!

@@ -54,8 +55,9 @@ impl TryFrom<&HeaderMap> for Properties {
fn try_from(headers: &HeaderMap) -> Result<Self, Self::Error> {
let header_value = headers
.get(PROPERTIES)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, may be we need to rename to .try_get and add a get that errors like this.

@johnbatty
Copy link
Contributor

Looks good to me too. Thanks very much for working on this!

@cataggar cataggar merged commit 334a748 into Azure:main Jun 13, 2022
@roeap roeap deleted the datalake-errors branch June 13, 2022 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants