mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 04:06:03 +00:00
Stop including full arguments list in generated clients
Including custom arguments means adding any new group/version results in a diff of all generates clients in all groups/versions
This commit is contained in:
parent
a2b65f03bf
commit
4b3462456a
@ -56,7 +56,7 @@ func DefaultNameSystem() string {
|
||||
|
||||
func generatedBy(customArgs clientgenargs.Args) string {
|
||||
if len(customArgs.CmdArgs) != 0 {
|
||||
return fmt.Sprintf("\n// This package is generated by client-gen with arguments: %s\n\n", customArgs.CmdArgs)
|
||||
return fmt.Sprintf("\n// This package is generated by client-gen with custom arguments.\n\n")
|
||||
}
|
||||
return fmt.Sprintf("\n// This package is generated by client-gen with the default arguments.\n\n")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user