Skip to content

Commit 3c7c2dc

Browse files
committed
Improve library property set
1 parent 6bdef9d commit 3c7c2dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/charms/postgresql_k8s/v0/postgresql_tls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def __init__(
6262
super().__init__(charm, "client-relations")
6363
self.charm = charm
6464
self.peer_relation = peer_relation
65-
self.additional_dns_names = [] if additional_dns_names is None else additional_dns_names
65+
self.additional_dns_names = additional_dns_names or []
6666
self.certs = TLSCertificatesRequiresV1(self.charm, TLS_RELATION)
6767
self.framework.observe(
6868
self.charm.on.set_tls_private_key_action, self._on_set_tls_private_key

0 commit comments

Comments
 (0)