We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bdef9d commit 3c7c2dcCopy full SHA for 3c7c2dc
lib/charms/postgresql_k8s/v0/postgresql_tls.py
@@ -62,7 +62,7 @@ def __init__(
62
super().__init__(charm, "client-relations")
63
self.charm = charm
64
self.peer_relation = peer_relation
65
- self.additional_dns_names = [] if additional_dns_names is None else additional_dns_names
+ self.additional_dns_names = additional_dns_names or []
66
self.certs = TLSCertificatesRequiresV1(self.charm, TLS_RELATION)
67
self.framework.observe(
68
self.charm.on.set_tls_private_key_action, self._on_set_tls_private_key
0 commit comments