Skip to content

Commit e24acc3

Browse files
committed
fix(tls): tls force enable error
1 parent 7eacb0f commit e24acc3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

rootfs/api/models/gateway.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,7 @@ def cleaned_rules(self):
222222
@property
223223
def tls_force_hostnames(self):
224224
tls = self.app.tls_set.latest()
225-
q = Q(ptype__int=[s.ptype for s in self.services])
225+
q = Q(ptype__in=[s.ptype for s in self.services])
226226
if not tls.certs_auto_enabled:
227227
q &= Q(certificate__isnull=False)
228228
domains = self.app.domain_set.filter(q)

0 commit comments

Comments
 (0)