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)
Reviewed: https:/ /review. openstack. org/607547 /git.openstack. org/cgit/ openstack/ os-win/ commit/ ?id=59e11175060 67f42cec30e0eae 6c7e92ffb0b6bc
Committed: https:/
Submitter: Zuul
Branch: stable/rocky
commit 59e1117506067f4 2cec30e0eae6c7e 92ffb0b6bc
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 paste.openstack .org/raw/ 730618/
do not match (for example, if one of the variables is a long int):
http://
This change fixes those comparisons.
Closes-Bug: #1794068
Change-Id: Ibf28778879050c fdfa82ef4f9b587 170dde6203f adf501f28055541 60fa934f3a)
(cherry picked from commit 1f8200ef7909b13