Fix typo startsOn -> StartsOn (#2099)

This commit is contained in:
JinmingHu 2021-04-10 23:20:01 +08:00 committed by GitHub
parent 14cc77a963
commit 0fce2f7d68
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 2 deletions

View File

@ -5,6 +5,7 @@
### Breaking Changes
- Removed `Azure::Storage::Blobs::PackageVersion`.
- Renamed `GetUserDelegationKeyOptions::startsOn` to `GetUserDelegationKeyOptions::StartsOn`.
## 12.0.0-beta.9 (2021-03-23)

View File

@ -193,7 +193,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* @brief Start time for the key's validity. The time should be specified in UTC, and
* will be truncated to second.
*/
Azure::DateTime startsOn = std::chrono::system_clock::now();
Azure::DateTime StartsOn = std::chrono::system_clock::now();
};
/**

View File

@ -136,7 +136,7 @@ namespace Azure { namespace Storage { namespace Blobs {
const Azure::Core::Context& context) const
{
_detail::BlobRestClient::Service::GetUserDelegationKeyOptions protocolLayerOptions;
protocolLayerOptions.StartsOn = options.startsOn;
protocolLayerOptions.StartsOn = options.StartsOn;
protocolLayerOptions.ExpiresOn = expiresOn;
return _detail::BlobRestClient::Service::GetUserDelegationKey(
*m_pipeline, m_serviceUrl, protocolLayerOptions, _internal::WithReplicaStatus(context));

View File

@ -5,6 +5,7 @@
### Breaking Changes
- Removed `Azure::Storage::Files::DataLake::PackageVersion`.
- Renamed `GetUserDelegationKeyOptions::startsOn` to `GetUserDelegationKeyOptions::StartsOn`.
### Bug Fixes