diff --git a/testsuite/openshift/objects/gateway_api/gateway.py b/testsuite/openshift/objects/gateway_api/gateway.py index 40da1597..2bc97cd5 100644 --- a/testsuite/openshift/objects/gateway_api/gateway.py +++ b/testsuite/openshift/objects/gateway_api/gateway.py @@ -200,7 +200,7 @@ def expose_hostname(self, name) -> Route: self.route.commit() else: self.route.add_hostname(route.model.spec.host) - self.selector.union(route.self_selector()) + self.selector = self.selector.union(route.self_selector()) return HostnameWrapper(self.route, route.model.spec.host) def commit(self):