Replace github.com/golang/protobuf with google.golang.org/protobuf

Signed-off-by: Sascha Grunert <sgrunert@redhat.com>

Kubernetes-commit: c1d0e870f4f45548c0d5b2bf83f36fb208252978
This commit is contained in:
Sascha Grunert
2024-11-07 12:47:08 +01:00
committed by Kubernetes Publisher
parent fae881e13f
commit be40e97e1a
3 changed files with 21 additions and 9 deletions

View File

@@ -29,9 +29,8 @@ import (
"sync"
"time"
//nolint:staticcheck // SA1019 Keep using module since it's still being maintained and the api of google.golang.org/protobuf/proto differs
"github.com/golang/protobuf/proto"
openapi_v2 "github.com/google/gnostic-models/openapiv2"
"google.golang.org/protobuf/proto"
apidiscoveryv2 "k8s.io/api/apidiscovery/v2"
apidiscoveryv2beta1 "k8s.io/api/apidiscovery/v2beta1"