Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Ni <niandrew7@gmail.com>
  • Loading branch information
andrew-ni committed Jul 26, 2019
1 parent d88d385 commit e904177
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions container_service_extension/ovdc_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,7 @@ def get_ovdc_list(client, list_pks_plans=False, request_dict=None,
raise UnauthorizedActionError('Operation Denied. Plans available '
'only for System Administrator.')
if list_pks_plans and (request_dict is None or tenant_auth_token is None):
raise ValueError("Request_dict and tenant_auth_token required "
"if list_pks_plans is True")
raise ValueError("Missing required parameters for list pks plans.")

if client.is_sysadmin():
org_resource_list = client.get_org_list()
Expand Down

0 comments on commit e904177

Please sign in to comment.