Fixed multichannel bug. (#737)
* Fixed multichannel bug. * Resolved some comments.
This commit is contained in:
parent
6ae0c0daac
commit
582377fc1d
File diff suppressed because it is too large
Load Diff
@ -148,6 +148,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares {
|
||||
ret.Cors = std::move(result->Cors);
|
||||
ret.HourMetrics = std::move(result->HourMetrics);
|
||||
ret.MinuteMetrics = std::move(result->MinuteMetrics);
|
||||
ret.Protocol = std::move(result->Protocol);
|
||||
return Azure::Core::Response<StorageServiceProperties>(
|
||||
std::move(ret), result.ExtractRawResponse());
|
||||
}
|
||||
|
||||
@ -146,6 +146,8 @@ namespace Azure { namespace Storage { namespace Test {
|
||||
TEST_F(FileShareServiceClientTest, SetProperties)
|
||||
{
|
||||
auto properties = *m_fileShareServiceClient->GetProperties();
|
||||
// Has to remove before set, otherwise would return failure.
|
||||
properties.Protocol = Core::Nullable<Files::Shares::ShareProtocolSettings>();
|
||||
auto originalProperties = properties;
|
||||
|
||||
properties.HourMetrics.Enabled = true;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user