mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
Fix prerelease-lifecycle-gen wrt gengo/v2
This commit is contained in:
parent
b5b8c9d869
commit
fd2ca0a344
@ -248,6 +248,7 @@ func Packages(context *generator.Context, arguments *args.GeneratorArgs) generat
|
||||
&generator.DefaultPackage{
|
||||
PackageName: strings.Split(filepath.Base(pkg.Path), ".")[0],
|
||||
PackagePath: path,
|
||||
Source: pkg.SourcePath, // output pkg is the same as the input
|
||||
HeaderText: header,
|
||||
GeneratorFunc: func(c *generator.Context) (generators []generator.Generator) {
|
||||
return []generator.Generator{
|
||||
|
Loading…
Reference in New Issue
Block a user