Skip to content

Commit

Permalink
refactor: rename func
Browse files Browse the repository at this point in the history
Signed-off-by: Matej Vasek <[email protected]>
  • Loading branch information
matejvasek committed Dec 12, 2023
1 parent 76fde17 commit e40ce30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hack/update-builder.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func buildBuilderImage(ctx context.Context, variant string) error {
return fmt.Errorf("cannot parse builder.toml: %w", err)
}

patchBuilder(&builderConfig)
addGoAndRustBuildpacks(&builderConfig)

packClient, err := pack.NewClient()
if err != nil {
Expand Down Expand Up @@ -288,7 +288,7 @@ func downloadBuilderToml(ctx context.Context, tarballUrl, builderTomlPath string
}

// Adds custom Rust and Go-Function buildpacks to the builder.
func patchBuilder(config *builder.Config) {
func addGoAndRustBuildpacks(config *builder.Config) {
config.Description += "\nAddendum: this is modified builder that also contains Rust and Func-Go buildpacks."
additionalBuildpacks := []builder.ModuleConfig{
{
Expand Down

0 comments on commit e40ce30

Please sign in to comment.