Skip to content

Commit 2a97f13

Browse files
committed
chore: adjust for copilot feedback
1 parent b866aab commit 2a97f13

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/template_autogen_ingress_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -553,7 +553,7 @@ func TestAutogeneratedIngressGeneration(t *testing.T) {
553553
want: "internal/testdata/basic/autogen-templates/test29-autogenerated-pathroutes",
554554
},
555555
{
556-
name: "autogenerated-routes-api-config-against-existng-reuslt",
556+
name: "autogenerated-routes-api-config-against-existing-reuslt",
557557
args: testdata.GetSeedData(
558558
testdata.TestData{
559559
ProjectName: "example-project",

internal/generator/ingress.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ func getRoutesFromAPIEnvVar(
338338
} else {
339339
if lagoonAPIRoutes != nil {
340340
if debug {
341-
fmt.Println("Collecting routes from environment variable LAGOON_ROUTES_JSON")
341+
fmt.Println("Collecting routes from environment variable LAGOON_API_ROUTES")
342342
}
343343
// if the routesJSON is populated, then attempt to decode and unmarshal it
344344
rawJSONStr, _ := base64.StdEncoding.DecodeString(lagoonAPIRoutes.Value)

0 commit comments

Comments
 (0)