From 62b95d76a9f19a11c420b81926cfe3e09ff8ace4 Mon Sep 17 00:00:00 2001 From: Michael Nairn Date: Thu, 9 Nov 2023 13:49:04 +0000 Subject: [PATCH] Remove authorino direct dependency Inadvertently added here https://github.com/Kuadrant/multicluster-gateway-controller/pull/412/files#diff-162ceed42032f121fd671b5884a611158c00f31e292b7602e48d5671ca7fe01fR25 --- go.mod | 2 +- pkg/controllers/dnspolicy/dnspolicy_controller.go | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/go.mod b/go.mod index d656ec13..6375bbc4 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,6 @@ require ( github.com/google/uuid v1.3.0 github.com/goombaio/namegenerator v0.0.0-20181006234301-989e774b106e github.com/jetstack/cert-manager v1.7.1 - github.com/kuadrant/authorino v0.10.0 github.com/kuadrant/kuadrant-operator v0.1.1-0.20230323151616-58593d01833a github.com/martinlindhe/base36 v1.1.1 github.com/onsi/ginkgo/v2 v2.11.0 @@ -66,6 +65,7 @@ require ( github.com/jmespath/go-jmespath v0.4.0 // indirect github.com/josharian/intern v1.0.0 // indirect github.com/json-iterator/go v1.1.12 // indirect + github.com/kuadrant/authorino v0.10.0 // indirect github.com/kuadrant/authorino-operator v0.4.1 // indirect github.com/kuadrant/limitador-operator v0.4.0 // indirect github.com/mailru/easyjson v0.7.7 // indirect diff --git a/pkg/controllers/dnspolicy/dnspolicy_controller.go b/pkg/controllers/dnspolicy/dnspolicy_controller.go index 22261fe7..0629e02f 100644 --- a/pkg/controllers/dnspolicy/dnspolicy_controller.go +++ b/pkg/controllers/dnspolicy/dnspolicy_controller.go @@ -22,7 +22,6 @@ import ( "fmt" "reflect" - "github.com/kuadrant/authorino/pkg/log" clusterv1 "open-cluster-management.io/api/cluster/v1" "k8s.io/apimachinery/pkg/api/equality" @@ -194,7 +193,6 @@ func (r *DNSPolicyReconciler) deleteResources(ctx context.Context, dnsPolicy *v1 // delete based on gateway diffs if err := r.deleteDNSRecords(ctx, dnsPolicy); err != nil { - log.V(3).Info("error reconciling DNS records from delete, returning", "error", err) return err }