Skip to content

Commit

Permalink
Merge pull request GoogleCloudPlatform#3026 from justinsb/fix_output_…
Browse files Browse the repository at this point in the history
…path

chore: fix output path for types.go file
  • Loading branch information
google-oss-prow[bot] authored Oct 29, 2024
2 parents c13ecaa + 201d1cb commit 0e20413
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev/tools/controllerbuilder/scaffold/apis.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ func (a *APIScaffolder) TypeFileNotExist(resourceProtoName string) bool {
}

func (a *APIScaffolder) PathToTypeFile(resourceProtoName string) string {
fileName := strings.ToLower(resourceProtoName) + "_reference.go"
fileName := strings.ToLower(resourceProtoName) + "_types.go"
return filepath.Join(a.BaseDir, a.GoPackage, fileName)
}

Expand Down

0 comments on commit 0e20413

Please sign in to comment.