Skip to content

Commit

Permalink
Use string for port in default endpoints (bug 1160573)
Browse files Browse the repository at this point in the history
Change-Id: I940f331eee14e449333e5d0ba5d071836a496653
  • Loading branch information
dolph committed Mar 26, 2013
1 parent 4561612 commit b94f62a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions etc/keystone.conf.sample
Expand Up @@ -13,8 +13,8 @@

# The base endpoint URLs for keystone that are advertised to clients
# (NOTE: this does NOT affect how keystone listens for connections)
# public_endpoint = http://localhost:%(public_port)d/
# admin_endpoint = http://localhost:%(admin_port)d/
# public_endpoint = http://localhost:%(public_port)s/
# admin_endpoint = http://localhost:%(admin_port)s/

# The port number which the OpenStack Compute service listens on
# compute_port = 8774
Expand Down
4 changes: 2 additions & 2 deletions keystone/common/config.py
Expand Up @@ -187,8 +187,8 @@ def configure():
register_int('admin_port', default=35357)
register_int('public_port', default=5000)
register_str(
'public_endpoint', default='http://localhost:%(public_port)d/')
register_str('admin_endpoint', default='http://localhost:%(admin_port)d/')
'public_endpoint', default='http://localhost:%(public_port)s/')
register_str('admin_endpoint', default='http://localhost:%(admin_port)s/')
register_str('onready')
register_str('auth_admin_prefix', default='')
register_str('policy_file', default='policy.json')
Expand Down

0 comments on commit b94f62a

Please sign in to comment.