Skip to content

Commit dddcebd

Browse files
committed
fix: r
Signed-off-by: ashing <[email protected]>
1 parent 7a4a9e6 commit dddcebd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

internal/controller/httproute_controller.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ import (
1717
"fmt"
1818
"strings"
1919

20+
"github.com/api7/gopkg/pkg/log"
2021
"github.com/go-logr/logr"
2122
"github.com/pkg/errors"
23+
"go.uber.org/zap"
2224
"golang.org/x/exp/slices"
2325
corev1 "k8s.io/api/core/v1"
2426
discoveryv1 "k8s.io/api/discovery/v1"
@@ -210,7 +212,7 @@ func (r *HTTPRouteReconciler) Reconcile(ctx context.Context, req ctrl.Request) (
210212
if isRouteAccepted(gateways) && err == nil {
211213
routeToUpdate := hr
212214
if filteredHTTPRoute != nil {
213-
r.Log.Info("filteredHTTPRoute", "filteredHTTPRoute", filteredHTTPRoute)
215+
log.Debugw("filteredHTTPRoute", zap.Any("filteredHTTPRoute", filteredHTTPRoute))
214216
routeToUpdate = filteredHTTPRoute
215217
}
216218
if err := r.Provider.Update(ctx, tctx, routeToUpdate); err != nil {

test/conformance/conformance_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,6 @@ var skippedTestsForTraditionalRoutes = []string{
3434
tests.HTTPRouteReferenceGrant.ShortName,
3535

3636
// TODO: HTTPRoute hostname intersection and listener hostname matching
37-
// tests.HTTPRouteHostnameIntersection.ShortName,
38-
// tests.HTTPRouteListenerHostnameMatching.ShortName,
3937

4038
tests.GatewayInvalidTLSConfiguration.ShortName,
4139
tests.HTTPRouteInvalidCrossNamespaceParentRef.ShortName,

0 commit comments

Comments
 (0)