fix variable casing (#689)
This commit is contained in:
parent
bac7f28570
commit
fbe95f36c5
@ -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;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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(
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user