Skip to content
This repository has been archived by the owner on Oct 25, 2023. It is now read-only.

Commit

Permalink
fix name of the env variable
Browse files Browse the repository at this point in the history
Signed-off-by: Rodolfo Sanchez <[email protected]>
  • Loading branch information
Rodolfo Sanchez committed Jul 25, 2022
1 parent a4c9426 commit 658bdb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions buildpacks/java/java/function.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ func WithDefaultFunction(defaultFunctionName string, override bool, funcYamlName
metadata["bp-default-function"] = funcYamlName

if override {
fun.functionClass = defaultFunctionName
metadata["bp-function-class"] = defaultFunctionName
fun.defaultFunctionName = defaultFunctionName
metadata["bp-default-function"] = defaultFunctionName
}

fun.overrideDefaultFunctionName = override
Expand Down

0 comments on commit 658bdb4

Please sign in to comment.