Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove json serialization annotations from internal types #38406

Merged
4 changes: 2 additions & 2 deletions cmd/kubeadm/app/apis/kubeadm/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,6 @@ type NodeConfiguration struct {
type ClusterInfo struct {
metav1.TypeMeta
// TODO(phase1+) this may become simply `api.Config`
CertificateAuthorities []string `json:"certificateAuthorities"`
Endpoints []string `json:"endpoints"`
CertificateAuthorities []string
Endpoints []string
}
3 changes: 0 additions & 3 deletions cmd/libs/go2idl/client-gen/test_apis/testgroup/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ go_library(
srcs = [
"doc.go",
"register.go",
"types.generated.go",
"types.go",
],
tags = ["automanaged"],
Expand All @@ -24,7 +23,5 @@ go_library(
"//pkg/apis/meta/v1:go_default_library",
"//pkg/runtime:go_default_library",
"//pkg/runtime/schema:go_default_library",
"//pkg/types:go_default_library",
"//vendor:github.com/ugorji/go/codec",
],
)