Skip to content

Commit

Permalink
Merge "management_url not set by authenticate method"
Browse files Browse the repository at this point in the history
  • Loading branch information
Jenkins authored and openstack-gerrit committed Feb 10, 2013
2 parents dae0337 + 17b251d commit 1ea7e65
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions novaclient/client.py
Expand Up @@ -354,6 +354,8 @@ def authenticate(self):

if self.bypass_url:
self.set_management_url(self.bypass_url)
elif not self.management_url:
raise exceptions.Unauthorized('Nova Client')

# Store the token/mgmt url in the keyring for later requests.
if self.keyring_saver and self.os_cache and not self.keyring_saved:
Expand Down

0 comments on commit 1ea7e65

Please sign in to comment.