Skip to content

Commit

Permalink
Revert "feat: use proto in CNS usage of client-go " (#3152)
Browse files Browse the repository at this point in the history
Revert "feat: use proto in CNS usage of client-go  (#3131)"

This reverts commit 082d6a6.
  • Loading branch information
rbtr authored Nov 15, 2024
1 parent 5d4c4dc commit eae2691
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cns/service/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -1245,8 +1245,6 @@ func InitializeCRDState(ctx context.Context, httpRestService cns.HTTPService, cn
return errors.Wrap(err, "failed to get kubeconfig")
}
kubeConfig.UserAgent = fmt.Sprintf("azure-cns-%s", version)
kubeConfig.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json"
kubeConfig.ContentType = "application/vnd.kubernetes.protobuf"

clientset, err := kubernetes.NewForConfig(kubeConfig)
if err != nil {
Expand Down

0 comments on commit eae2691

Please sign in to comment.