Skip to content

Commit 5121d1d

Browse files
fix: load invocationMode from manifest (#458)
1 parent d4fe79b commit 5121d1d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

go/porcelain/deploy_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ func TestBundleWithManifest(t *testing.T) {
449449
"runtime": "some-other-runtime",
450450
"mainFile": "/some/path/hello-py-function-test",
451451
"name": "hello-py-function-test",
452-
"invocation_mode": "stream"
452+
"invocationMode": "stream"
453453
}
454454
],
455455
"version": 1

go/porcelain/functions_manifest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ type functionsManifestEntry struct {
1515
Schedule string `json:"schedule"`
1616
DisplayName string `json:"displayName"`
1717
Generator string `json:"generator"`
18-
InvocationMode string `json:"invocation_mode"`
18+
InvocationMode string `json:"invocationMode"`
1919
}

0 commit comments

Comments
 (0)