Comment 5 for bug 1705469

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-plugins (stable/newton)

Reviewed: https://review.openstack.org/486754
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-plugins/commit/?id=782460644902f391cadb83e61c882956c0e569ee
Submitter: Jenkins
Branch: stable/newton

commit 782460644902f391cadb83e61c882956c0e569ee
Author: Matthew Thode <email address hidden>
Date: Mon Jul 24 16:05:12 2017 -0500

    Do not convert integers to strings

    When overrides are used in config templates the previous behavior was to
    not convert the integers to strings. The previous change,
    I8986688efbd7e05ba17c3d61ee032dcc29d3b05d changed this behavior. The
    reason why try-except was used instead of isnumeric is because isnumeric
    only accepts positive numbers, while we could strip signs off the ends,
    that could alter things past what we want.

    Closes-Bug: #1705469

    Change-Id: I5927cdcd06b4398c76b4e4d33f7a21335a6abbf2
    Signed-off-by: Matthew Thode <email address hidden>