Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverting change that resulted in issue #4323 #4371

Merged
merged 1 commit into from
Aug 2, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/ResourceManager/DataLakeStore/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
- Additional information about change #1
-->
## Current Release
* Fix for issue: https://github.com/Azure/azure-powershell/issues/4323

## Version 4.2.1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,6 @@ public DataLakeStoreAccount CreateAccount(

var toReturn = _client.Account.Create(resourceGroupName, accountName, parameters);

// enable the key vault for the user so they don't have to run an additional command.
if (encryptionType.HasValue && encryptionType.Value == EncryptionConfigType.UserManaged)
{
this.EnableKeyVault(resourceGroupName, accountName);
}

return toReturn;
}

Expand Down Expand Up @@ -158,12 +152,6 @@ public DataLakeStoreAccount UpdateAccount(

var toReturn = _client.Account.Update(resourceGroupName, accountName, parameters);

// auto enable the key vault for the user if they updated it.
if (userConfig != null)
{
this.EnableKeyVault(resourceGroupName, accountName);
}

return toReturn;
}

Expand Down