forked from cerc-io/stack-orchestrator
lint
This commit is contained in:
parent
7f0b82b9a9
commit
f91329eef0
@ -353,7 +353,8 @@ class K8sDeployer(Deployer):
|
|||||||
hostname = ingress.spec.rules[0].host
|
hostname = ingress.spec.rules[0].host
|
||||||
tls_hosts = ingress.spec.rules[0].host
|
tls_hosts = ingress.spec.rules[0].host
|
||||||
ip = ingress.status.load_balancer.ingress[0].ip
|
ip = ingress.status.load_balancer.ingress[0].ip
|
||||||
tls = "notBefore: %s, notAfter: %s, names: %s" % (cert["status"]["notBefore"], cert["status"]["notAfter"], ", ".join(ingress.spec.tls[0].hosts))
|
tls = "notBefore: %s, notAfter: %s, names: %s" % (
|
||||||
|
cert["status"]["notBefore"], cert["status"]["notAfter"], ", ".join(ingress.spec.tls[0].hosts))
|
||||||
except: # noqa: E722
|
except: # noqa: E722
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user