fix variable casing (#689)

This commit is contained in:
JinmingHu 2020-09-28 11:10:32 +08:00 committed by GitHub
parent bac7f28570
commit fbe95f36c5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 8 additions and 8 deletions

View File

@ -503,7 +503,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* available before the break period has expired, but the lease may be held for longer than the
* break period.
*/
Azure::Core::Nullable<int32_t> breakPeriod;
Azure::Core::Nullable<int32_t> BreakPeriod;
};
/**
@ -879,7 +879,7 @@ namespace Azure { namespace Storage { namespace Blobs {
* available before the break period has expired, but the lease may be held for longer than the
* break period.
*/
Azure::Core::Nullable<int32_t> breakPeriod;
Azure::Core::Nullable<int32_t> BreakPeriod;
};
/**

View File

@ -695,7 +695,7 @@ namespace Azure { namespace Storage { namespace Blobs {
const BreakBlobLeaseOptions& options) const
{
BlobRestClient::Blob::BreakBlobLeaseOptions protocolLayerOptions;
protocolLayerOptions.BreakPeriod = options.breakPeriod;
protocolLayerOptions.BreakPeriod = options.BreakPeriod;
protocolLayerOptions.IfModifiedSince = options.IfModifiedSince;
protocolLayerOptions.IfUnmodifiedSince = options.IfUnmodifiedSince;
protocolLayerOptions.IfMatch = options.IfMatch;

View File

@ -323,7 +323,7 @@ namespace Azure { namespace Storage { namespace Blobs {
const BreakContainerLeaseOptions& options) const
{
BlobRestClient::Container::BreakContainerLeaseOptions protocolLayerOptions;
protocolLayerOptions.BreakPeriod = options.breakPeriod;
protocolLayerOptions.BreakPeriod = options.BreakPeriod;
protocolLayerOptions.IfModifiedSince = options.IfModifiedSince;
protocolLayerOptions.IfUnmodifiedSince = options.IfUnmodifiedSince;
return BlobRestClient::Container::BreakLease(

View File

@ -427,7 +427,7 @@ namespace Azure { namespace Storage { namespace Test {
EXPECT_NE(brokenLease.LeaseTime, 0);
Blobs::BreakContainerLeaseOptions options;
options.breakPeriod = 0;
options.BreakPeriod = 0;
m_blobContainerClient->BreakLease(options);
}

View File

@ -205,7 +205,7 @@ namespace Azure { namespace Storage { namespace Test {
EXPECT_NE(brokenLease.LeaseTime, 0);
Blobs::BreakBlobLeaseOptions options;
options.breakPeriod = 0;
options.BreakPeriod = 0;
m_pageBlobClient->BreakLease(options);
}

View File

@ -276,14 +276,14 @@ namespace Azure { namespace Storage { namespace Test {
aLease = *m_pathClient->AcquireLease(CreateUniqueLeaseId(), leaseDuration);
Files::DataLake::BreakPathLeaseOptions breakOptions;
breakOptions.breakPeriod = 30;
breakOptions.BreakPeriod = 30;
brokenLease = *m_pathClient->BreakLease(breakOptions);
EXPECT_FALSE(brokenLease.ETag.empty());
EXPECT_FALSE(brokenLease.LastModified.empty());
EXPECT_NE(brokenLease.LeaseTime, 0);
Files::DataLake::BreakPathLeaseOptions options;
options.breakPeriod = 0;
options.BreakPeriod = 0;
m_pathClient->BreakLease(options);
}
}}} // namespace Azure::Storage::Test