Skip to content

Commit

Permalink
Don't embed plural exceptions in tools
Browse files Browse the repository at this point in the history
Kubernetes-commit: df7f5fca27fce282fb4815aa0464ff4797fd6bbe
  • Loading branch information
thockin authored and k8s-publishing-bot committed Mar 5, 2024
1 parent c9df80e commit bfe3706
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
1 change: 0 additions & 1 deletion cmd/client-gen/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@ func New() *Args {
ClientsetAPIPath: "/apis",
ClientsetOnly: false,
FakeClient: true,
PluralExceptions: []string{"Endpoints:Endpoints"},
ApplyConfigurationPackage: "",
}
}
Expand Down
3 changes: 1 addition & 2 deletions cmd/informer-gen/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ type Args struct {
// New returns default arguments for the generator.
func New() *Args {
return &Args{
SingleDirectory: false,
PluralExceptions: []string{"Endpoints:Endpoints"},
SingleDirectory: false,
}
}

Expand Down
4 changes: 1 addition & 3 deletions cmd/lister-gen/args/args.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,7 @@ type Args struct {

// New returns default arguments for the generator.
func New() *Args {
return &Args{
PluralExceptions: []string{"Endpoints:Endpoints"},
}
return &Args{}
}

// AddFlags add the generator flags to the flag set.
Expand Down

0 comments on commit bfe3706

Please sign in to comment.