Skip to content
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

Use the Azure.Core ETag type in the DPS service client #2864

Merged
merged 6 commits into from Oct 17, 2022

Conversation

timtay-microsoft
Copy link
Member

This is the first class we've added from the Azure.Core package to this library, so we now have a dependency on that package

This is the first class we've added from the Azure.Core package to this library, so we now have a dependency on that package
@@ -127,7 +128,12 @@ internal class ContractApiHttp : IContractApiHttp
msg.Headers.Add(header.Key, header.Value);
}
}
InsertIfMatch(msg, ifMatch);

if (!string.IsNullOrWhiteSpace(eTag.ToString()))
Copy link
Contributor

Choose a reason for hiding this comment

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

Can ETag be null?

Copy link
Member Author

Choose a reason for hiding this comment

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

No. It's a struct that may have a null string inside it, though.

@timtay-microsoft
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@timtay-microsoft
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@timtay-microsoft
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@timtay-microsoft timtay-microsoft merged commit 04f371d into previews/v2 Oct 17, 2022
@timtay-microsoft timtay-microsoft deleted the timtay/ETag branch October 17, 2022 20:15
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.

None yet

2 participants