alibaba-archive / fcli

The cli of function compute.
81 stars 18 forks source link

mkt http -t http broken? #30

Closed asmsuechan closed 6 years ago

asmsuechan commented 6 years ago

Hi, developers.

I got an error below when I create a trigger from fcli:

>>> mkt --help
      --etag string              trigger etag for update
      --help
  -r, --invocation-role string   invocation role, timer type trigger optional
  -s, --source-arn string        event source arn, timer type trigger optional
  -c, --trigger-config string    trigger config file
  -t, --type string              trigger type, support oss, log, timer, http, cdn_events now (default "oss")

>>> mkt http -t http -c httpTrigger.yml
Error: unsupported trigger type, expect oss, log, timer, http, cdn_events, actual http

Isn't it implemented yet? Or did I do anything wrong?

vangie commented 6 years ago

which version ?

fcli version
asmsuechan commented 6 years ago

Here's my fcli version.

function_compute > fcli version
fcli version: 0.19
tanhe123 commented 6 years ago

It isn't implemented yet. @muxiangqiu

asmsuechan commented 6 years ago

Thank you for your maintenance! It works fine on version 0.20. 谢谢!