mirror of
https://github.com/openshift/community.okd.git
synced 2026-05-06 21:22:36 +00:00
Update for Ansible 2.15 sanity tests (#173)
This commit is contained in:
@@ -14,6 +14,8 @@ try:
|
||||
get_api_client,
|
||||
)
|
||||
HAS_KUBERNETES_COLLECTION = True
|
||||
k8s_collection_import_exception = None
|
||||
K8S_COLLECTION_ERROR = None
|
||||
except ImportError as e:
|
||||
HAS_KUBERNETES_COLLECTION = False
|
||||
k8s_collection_import_exception = e
|
||||
@@ -27,6 +29,7 @@ try:
|
||||
from requests import request
|
||||
from requests.auth import HTTPBasicAuth
|
||||
HAS_REQUESTS_MODULE = True
|
||||
requests_import_exception = None
|
||||
except ImportError as e:
|
||||
HAS_REQUESTS_MODULE = False
|
||||
requests_import_exception = e
|
||||
|
||||
Reference in New Issue
Block a user