Skip to content

Commit c5bb1bd

Browse files
authored
remove API version limitation of file cmdlets (#21733)
1 parent a58efaf commit c5bb1bd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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+
* Removed the API version limitation on File cmdlets
2122

2223
## Version 5.6.1
2324
* Support OAuth authentication on File service cmdlets

src/Storage/Storage/File/AzureStorageFileCmdletBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public ShareClientOptions ClientOptions
176176
{
177177
if (clientOptions == null)
178178
{
179-
clientOptions = new ShareClientOptions(ShareClientOptions.ServiceVersion.V2021_12_02);
179+
clientOptions = new ShareClientOptions();
180180
clientOptions.AddPolicy(new UserAgentPolicy(ApiConstants.UserAgentHeaderValue), HttpPipelinePosition.PerCall);
181181
return clientOptions;
182182
}

0 commit comments

Comments
 (0)