Skip to content
This repository has been archived by the owner on Jul 19, 2024. It is now read-only.

Commit

Permalink
Fixed issue: AttributeError %adl list accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
Vincent Feng committed Jun 8, 2018
1 parent 67c7b0f commit 159bfee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion adlmagics/adlmagics/services/adla_service_sdk_impl.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def retrieve_accounts(self, page_index, page_account_number):
sub_client = SubscriptionClient(self.__token_service.credentials)
for sub in sub_client.subscriptions.list():
dla_client = DataLakeAnalyticsAccountManagementClient(self.__token_service.credentials, sub.subscription_id)
accounts.extend([AdlaAccount(account.name) for account in dla_client.account.list()])
accounts.extend([AdlaAccount(account.name) for account in dla_client.accounts.list()])

accounts.sort(key = lambda account: getattr(account, "name"))

Expand Down

0 comments on commit 159bfee

Please sign in to comment.