File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ so we need to redirect the messages from stderr to the container's logs.
267
267
OpenFaaS provides a solution so you can print the error messages to the logs and keep the function response clear, returning only `stdout`.
268
268
You should use the `combine_output` flag for that purposes.
269
269
270
- Let's try it. Open the `hello-openfaas.yaml ` file and add those lines :
270
+ Let's try it. Open the `hello-openfaas.yml ` file and add those lines :
271
271
272
272
` ` ` yaml
273
273
environment:
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ This should be an error message.
131
131
132
132
このままでは ` stderr ` が原因でfunctionの戻り値は無効なJSONの形になってしまいます。よって、 ` stderr ` の中身は戻り値には結合せず、コンテナのログにだけ出力するように挙動を変えたいです。これを実現するために ` combine_output ` フラグを設定することができます。
133
133
134
- では、実際に ` hello-openfaas.yaml ` に設定してみましょう:
134
+ では、実際に ` hello-openfaas.yml ` に設定してみましょう:
135
135
136
136
``` yaml
137
137
environment :
You can’t perform that action at this time.
0 commit comments