Comment 7 for bug 1652025

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to osc-lib (master)

Reviewed: https://review.openstack.org/417675
Committed: https://git.openstack.org/cgit/openstack/osc-lib/commit/?id=f6c357d749fb6a8fa1497fe9c5c055e04ae59703
Submitter: Jenkins
Branch: master

commit f6c357d749fb6a8fa1497fe9c5c055e04ae59703
Author: Roey Chen <email address hidden>
Date: Sun Jan 8 04:27:07 2017 -0800

    Don't call formatters on None value

    Some object fields are allowed to be set to None, in such cases we
    shouldn't call any formatters on the field.
    For example, a subnet has a field 'service_types' which could be a list
    of values but is also nullable.

    Change-Id: I6574bdf742c0cd24cc824f08e8ba4c40d390cbe0
    Closes-Bug: #1652025