Skip to content

Commit c26f24c

Browse files
committed
Update Profile change log
1 parent 0bdc3f0 commit c26f24c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ResourceManager/Profile/ChangeLog.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
-->
2020
## Current Release
2121
* Set minimum dependency of module to PowerShell 5.0
22+
* Enable context autosave by default
23+
* Create a context for each subscription when running `Connect-AzureRmAccount` with no previous context
2224

2325
## Version 4.6.0
2426
* Updated to the latest version of the Azure ClientRuntime

src/ResourceManager/Profile/Commands.Profile/Models/RMProfileClient.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,6 @@ public AzureRmProfile Login(
227227
}
228228

229229
bool shouldPopulateContextList = _profile.DefaultContext?.Account == null;
230-
231230
if (newSubscription == null)
232231
{
233232
if (subscriptionId != null)
@@ -263,7 +262,6 @@ public AzureRmProfile Login(
263262

264263
_profile.DefaultContext.TokenCache = _cache;
265264
var defaultContext = _profile.DefaultContext;
266-
267265
if (shouldPopulateContextList)
268266
{
269267
var subscriptions = ListSubscriptions(tenantId);

0 commit comments

Comments
 (0)