Skip to content

Commit 1a2b64f

Browse files
authored
[Storage] Upgrade DMlib to fix issue #12220 (#12882)
1 parent 7d05ac3 commit 1a2b64f

File tree

7 files changed

+12
-11
lines changed

7 files changed

+12
-11
lines changed

src/Storage/Storage.Management/ChangeLog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
- Additional information about change #1
1919
-->
2020
## Upcoming Release
21+
* Fixed upload blob fail by upgrade to Microsoft.Azure.Storage.DataMovement 2.0.0 [#12220]
2122
* Supported Point In Time Restore
2223
- Enable-AzStorageBlobRestorePolicy
2324
- Disable-AzStorageBlobRestorePolicy

src/Storage/Storage.Management/Storage.Management.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
</PropertyGroup>
1616
<ItemGroup>
1717
<PackageReference Include="Microsoft.Azure.Management.Storage" Version="17.2.0" />
18-
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.1" />
19-
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.1.1" />
20-
<PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.1.1" />
18+
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.2.2" />
19+
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.2.2" />
20+
<PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.2.2" />
2121
</ItemGroup>
2222

2323
<ItemGroup>

src/Storage/Storage.Test/Storage.Test.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414

1515
<ItemGroup>
1616
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.7" />
17-
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.1" />
18-
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.1.1" />
19-
<PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.1.1" />
17+
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.2.2" />
18+
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.2.2" />
19+
<PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.2.2" />
2020
<PackageReference Include="MSTest.TestAdapter" Version="1.2.1" />
2121
<PackageReference Include="MSTest.TestFramework" Version="1.2.1" />
2222
</ItemGroup>

src/Storage/Storage/Blob/Cmdlet/SetAzureStorageBlobContent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ internal virtual async Task Upload2Blob(long taskId, IStorageBlobManagement loca
247247
SingleTransferContext transferContext = this.GetTransferContext(data);
248248

249249
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
250-
transferContext.SetAttributesCallbackAsync = async (destination) =>
250+
transferContext.SetAttributesCallbackAsync = async (source, destination) =>
251251
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
252252
{
253253
CloudBlob destBlob = destination as CloudBlob;

src/Storage/Storage/DatalakeGen2/Cmdlet/NewAzDataLakeGen2Item.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ internal virtual async Task Upload2Blob(long taskId, IStorageBlobManagement loca
314314
SingleTransferContext transferContext = this.GetTransferContext(data);
315315

316316
#pragma warning disable CS1998 // Async method lacks 'await' operators and will run synchronously
317-
transferContext.SetAttributesCallbackAsync = async (destination) =>
317+
transferContext.SetAttributesCallbackAsync = async (source, destination) =>
318318
#pragma warning restore CS1998 // Async method lacks 'await' operators and will run synchronously
319319
{
320320
CloudBlob destBlob = destination as CloudBlob;

src/Storage/Storage/Storage.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
<PackageReference Include="Azure.Storage.Queues" Version="12.4.0-preview.6" />
1919
<PackageReference Include="Microsoft.Azure.Cosmos.Table" Version="1.0.7" />
2020
<PackageReference Include="System.Security.Permissions" Version="4.5.0" />
21-
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.1.1" />
22-
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.1.1" />
23-
<PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.1.1" />
21+
<PackageReference Include="Microsoft.Azure.Storage.Blob" Version="11.2.2" />
22+
<PackageReference Include="Microsoft.Azure.Storage.File" Version="11.2.2" />
23+
<PackageReference Include="Microsoft.Azure.Storage.Queue" Version="11.2.2" />
2424
</ItemGroup>
2525
<Target Name="CopyFiles" AfterTargets="Build">
2626
<Copy SourceFiles="@(PreLoadAssemblies)" DestinationFolder="$(TargetDir)\PreloadAssemblies" />
Binary file not shown.

0 commit comments

Comments
 (0)