Skip to content

Commit eae2691

Browse files
authored
Revert "feat: use proto in CNS usage of client-go " (#3152)
Revert "feat: use proto in CNS usage of client-go (#3131)" This reverts commit 082d6a6.
1 parent 5d4c4dc commit eae2691

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cns/service/main.go

-2
Original file line numberDiff line numberDiff line change
@@ -1245,8 +1245,6 @@ func InitializeCRDState(ctx context.Context, httpRestService cns.HTTPService, cn
12451245
return errors.Wrap(err, "failed to get kubeconfig")
12461246
}
12471247
kubeConfig.UserAgent = fmt.Sprintf("azure-cns-%s", version)
1248-
kubeConfig.AcceptContentTypes = "application/vnd.kubernetes.protobuf,application/json"
1249-
kubeConfig.ContentType = "application/vnd.kubernetes.protobuf"
12501248

12511249
clientset, err := kubernetes.NewForConfig(kubeConfig)
12521250
if err != nil {

0 commit comments

Comments
 (0)