Add SSL certificate utility and tests
This commit is contained in:
parent
f1c9965edf
commit
3a24871422
5 changed files with 205 additions and 46 deletions
|
@ -79,7 +79,7 @@ class KubernetesConfigProvider(FileConfigProvider):
|
|||
# as an error, as it seems to be a common issue.
|
||||
namespace_url = 'namespaces/%s' % (QE_NAMESPACE)
|
||||
response = self._execute_k8s_api('GET', namespace_url)
|
||||
if response.status_code / 100 != 2:
|
||||
if response.status_code // 100 != 2:
|
||||
msg = 'A Kubernetes namespace with name `%s` must be created to save config' % QE_NAMESPACE
|
||||
raise CannotWriteConfigException(msg)
|
||||
|
||||
|
|
Reference in a new issue