IP Address Showing as JSON in Show Command

Bug #1245608 reported by Auston McReynolds
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-troveclient
Fix Released
Low
Auston McReynolds

Bug Description

the 'ip' property in trove-show is incorrectly presented as json.

Now:

$ trove show 45f6bc02-0d84-46e1-83e6-db7f3f064677
+------------+--------------------------------------+
| Property | Value |
+------------+--------------------------------------+
| ip | [u'10.0.0.2'] |

Fix:

$ trove show 45f6bc02-0d84-46e1-83e6-db7f3f064677
+------------+--------------------------------------+
| Property | Value |
+------------+--------------------------------------+
| ip | 10.0.0.2 |

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

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

Changed in python-troveclient:
assignee: nobody → Auston McReynolds (amcrn)
status: New → In Progress
summary: - IP Address Showing as Embedded Unicode Array
+ IP Address Showing as JSON in Show Command
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-troveclient (master)

Reviewed: https://review.openstack.org/54158
Committed: http://github.com/openstack/python-troveclient/commit/737dcf2ef643c99cde3307d83db2372cf213bb5a
Submitter: Jenkins
Branch: master

commit 737dcf2ef643c99cde3307d83db2372cf213bb5a
Author: amcrn <email address hidden>
Date: Mon Oct 28 11:24:13 2013 -0700

    IP Address Showing as JSON in Show Command

    changes the 'ip' value returned in trove-show from a json array to
    a string of comma separated values

    before:

    +----------+--------------------------------------+
    | Property | Value |
    +----------+--------------------------------------+
    | created | 2013-10-23T06:49:55 |
    | flavor | 9 |
    | id | 95f6bc02-0d84-46e1-83e6-db7f3f064677 |
    | ip | [u'10.0.0.2'] |
    | name | TestTest |
    | status | ACTIVE |
    | updated | 2013-10-23T06:49:58 |
    | volume | 5 |
    +----------+--------------------------------------+

    after:

    +----------+--------------------------------------+
    | Property | Value |
    +----------+--------------------------------------+
    | created | 2013-10-23T06:49:55 |
    | flavor | 9 |
    | id | 95f6bc02-0d84-46e1-83e6-db7f3f064677 |
    | ip | 10.0.0.2 |
    | name | TestTest |
    | status | ACTIVE |
    | updated | 2013-10-23T06:49:58 |
    | volume | 5 |
    +----------+--------------------------------------+

    Change-Id: I56f2a6dea90dcfa790abb8592f565372ad616a1b
    Closes-Bug: 1245608

Changed in python-troveclient:
status: In Progress → Fix Committed
Changed in python-troveclient:
status: Fix Committed → Fix Released
importance: Undecided → Low
milestone: none → python-troveclient-v1
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.