Fix linting error and temp stop running openshift job

This fixes an error in the new release of pycodestyle.

It also temporarily stops running the OpenShift test job since
that job requires fedora 36 whose package archive has just been
removed.

Change-Id: I1eee3c26eb79bf866cd5775aa3ebf8d1d8d4ba33
This commit is contained in:
James E. Blair 2023-08-01 13:48:59 -07:00
parent ae4486d18f
commit 426951af18
2 changed files with 3 additions and 3 deletions

View File

@ -285,7 +285,7 @@
- nodepool-nox-py311
- nodepool-functional-container-openstack-release
- nodepool-functional-k8s
- nodepool-functional-openshift
# - nodepool-functional-openshift
- zuul-quick-start:
requires: zuul-container-image
dependencies: nodepool-build-image
@ -299,7 +299,7 @@
nodeset: ubuntu-focal
- nodepool-nox-py311
- nodepool-functional-k8s
- nodepool-functional-openshift
# - nodepool-functional-openshift
- zuul-quick-start:
requires: zuul-container-image
dependencies: nodepool-upload-image

View File

@ -995,7 +995,7 @@ class OpenStackAdapter(statemachine.Adapter):
# some openstacksdk's return True if any port was
# cleaned, rather than the count. Just set it to 1 to
# indicate something happened.
if type(did_clean) == bool:
if type(did_clean) is bool:
did_clean = 1
if self._statsd:
key = ('nodepool.provider.%s.leaked.floatingips'