diff --git a/go.mod b/go.mod index 4e8ed2a00..f6260413b 100644 --- a/go.mod +++ b/go.mod @@ -5,7 +5,6 @@ go 1.19 require ( github.com/elliotchance/orderedmap/v2 v2.2.0 github.com/go-logr/logr v1.2.4 - github.com/golang/protobuf v1.5.3 github.com/google/go-cmp v0.5.9 github.com/google/uuid v1.3.0 github.com/kuadrant/authorino v0.14.0 @@ -48,6 +47,7 @@ require ( github.com/go-openapi/swag v0.22.3 // indirect github.com/gogo/protobuf v1.3.2 // indirect github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect + github.com/golang/protobuf v1.5.3 // indirect github.com/google/gnostic v0.6.9 // indirect github.com/google/gofuzz v1.2.0 // indirect github.com/googleapis/enterprise-certificate-proxy v0.2.1 // indirect diff --git a/pkg/rlptools/wasm/types.go b/pkg/rlptools/wasm/types.go index b53a34745..2e553ea35 100644 --- a/pkg/rlptools/wasm/types.go +++ b/pkg/rlptools/wasm/types.go @@ -3,7 +3,7 @@ package wasm import ( "encoding/json" - _struct "github.com/golang/protobuf/ptypes/struct" + _struct "google.golang.org/protobuf/types/known/structpb" gatewayapiv1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1" kuadrantv1beta2 "github.com/kuadrant/kuadrant-operator/api/v1beta2" diff --git a/pkg/rlptools/wasm_utils.go b/pkg/rlptools/wasm_utils.go index d1e275645..a2d9581f7 100644 --- a/pkg/rlptools/wasm_utils.go +++ b/pkg/rlptools/wasm_utils.go @@ -7,7 +7,7 @@ import ( "reflect" "strings" - _struct "github.com/golang/protobuf/ptypes/struct" + _struct "google.golang.org/protobuf/types/known/structpb" istioclientgoextensionv1alpha1 "istio.io/client-go/pkg/apis/extensions/v1alpha1" "sigs.k8s.io/controller-runtime/pkg/client" gatewayapiv1beta1 "sigs.k8s.io/gateway-api/apis/v1beta1"