From 0da4b09014c7b577bdf9ecc1fabf4f4ec0797870 Mon Sep 17 00:00:00 2001 From: averevki Date: Wed, 15 Nov 2023 14:50:19 +0100 Subject: [PATCH] Fix kuadrant route cleanup --- testsuite/openshift/objects/gateway_api/gateway.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):