Closed arpin closed 6 years ago
Hello @arpin.
Can you paste me your serverless.yml
? I'll ensure I reproduce the issue properly and then can fix it in the next release.
Here. It works if I comment out name: testpack/hello
.
service: hellotest
provider:
name: openwhisk
functions:
hello:
handler: src/hello.hello
name: testpack/hello
events:
- http: GET /hello
plugins:
- serverless-openwhisk
resources:
packages:
testpack:
parameters:
hello: world
I've fixed the bug and it'll be resolved in the next release. Thanks for reporting!
I used sls logs command to successfully monitor my ibm cloud functions.
However, when I packaged the action using name attribute and my own package defined in resources. I cannot seem to be able to access the logs using this command.
The command sls logs -tf myfunc does not give any error (like it does when you give it a action name that does not exist) but it does not show any log output either.