glance-cache-manage usage message has incorrectly formatted defaults

Bug #1197472 reported by Paul Bourke
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Glance
Fix Released
Undecided
Paul Bourke

Bug Description

Some options show up %(default)s when running "glance-cache-manage -h":

"""
$ glance-cache-manage -h

**snip**

  -H ADDRESS, --host=ADDRESS
                        Address of Glance API host. Default: %(default)s
  -p PORT, --port=PORT Port the Glance API host listens on. Default:
                        %(default)s

**snip**
"""

This command should probably be updated to use oslo but for the mean time it's a quick fix.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to glance (master)

Fix proposed to branch: master
Review: https://review.openstack.org/35511

Changed in glance:
assignee: nobody → Paul Bourke (pauldbourke)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to glance (master)

Reviewed: https://review.openstack.org/35511
Committed: http://github.com/openstack/glance/commit/bd2ca4f982269e67d11473ba37de8d77436f625f
Submitter: Jenkins
Branch: master

commit bd2ca4f982269e67d11473ba37de8d77436f625f
Author: Paul Bourke <email address hidden>
Date: Wed Jul 3 16:52:50 2013 +0000

    Fix 'glance-cache-manage -h' default interpolation

    Some options were showing up as %(default)s when running
    "glance-cache-manage -h".

    Fixes bug 1197472

    Change-Id: I1c7586cbc52445e3bdca28a71378f40ecb5b07a9

Changed in glance:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in glance:
milestone: none → havana-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in glance:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.