-
函数定义如下,单元测试执行结果为:{"message":"test"} ,而通过线上调用正常。
```
@Func('account.test')
async test() {
const { pName, mail } = this.ctx.query
console.log('test', pName) //结果为test undefined
r…
yoodu updated
3 years ago
-
1) /test/index.test.ts
should use default event:
TypeError: Cannot read property 'logger' of undefined
at FCRuntime.wrapperEventInvoker (node_modules/@midwayjs/fcli-plugin-invok…
yoodu updated
3 years ago
-
## Expected Behaviour
```faas-cli generate -f hello-world.yml --tag branch --api=serving.knative.dev/v1alpha1```
```
---
apiVersion: serving.knative.dev/v1alpha1
kind: Service
metadata:
…
-
Running this on my mac (intel), using latest `serverless` installed as global.
Here is my dependencies list, should be latest:
yarn list
```
% yarn list --depth 0
yarn list v1.22.10
├─ @ba…
sonjz updated
3 years ago
-
After running ofc-bootstrap with GitHub config, unable to see functions.
## Expected Behaviour
Should see functions added via GitHub on dashboard list.
## Current Behaviour
…
-
This is happening in production firebase environment with a Blaze subscription, I've started seeing the error `The request was aborted because there was no available instance.` since 22nd August 10pm …
-
We can add proxy parameter to set k8s api proxy for testing faas-netes, inspired `nginxinc/kubernetes-ingress`
## Expected Behaviour
Setting k8s proxy api, we can test faas-netes in local …
-
macos 10.15.7
错误信息如下
man:learn_midwayjs man$ f create
Generating boilerplate...
✔ Hello, traveller.
Which template do you like? · faas-standard - A serverless boilerplate for aliyun fc, tence…
-
Hey @LucasRoesler
Function using the PHP template. The template doesn't allow to return a content type. As a work around it's been set in the yml file:
```
functions:
php7-json:
lang: …
-
As the value was changed to 'arm', but 'arm64' is reported by k8s as architecture, no applicable node for deployment can be found by k8s.
## Expected Behaviour
Openfaas can be deployed on 64bit ar…