Comment 3 for bug 1794068

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-win (stable/rocky)

Reviewed: https://review.openstack.org/607547
Committed: https://git.openstack.org/cgit/openstack/os-win/commit/?id=59e1117506067f42cec30e0eae6c7e92ffb0b6bc
Submitter: Zuul
Branch: stable/rocky

commit 59e1117506067f42cec30e0eae6c7e92ffb0b6bc
Author: Lucian Petrut <email address hidden>
Date: Mon Sep 24 14:00:03 2018 +0300

    Fix incorrect numeric comparisons

    In a few places, we're using "is" or "is not", when comparing
    numeric variables.

    This is incorrect and will give unexpected results when the types
    do not match (for example, if one of the variables is a long int):
    http://paste.openstack.org/raw/730618/

    This change fixes those comparisons.

    Closes-Bug: #1794068

    Change-Id: Ibf28778879050cfdfa82ef4f9b587170dde6203f
    (cherry picked from commit 1f8200ef7909b13adf501f2805554160fa934f3a)