You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/03/11 11:16:25 UTC

[GitHub] [incubator-openwhisk-wskdeploy] TPei opened a new issue #1042: Can't specify limits on Sequences

TPei opened a new issue #1042: Can't specify limits on Sequences
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/1042
 
 
   When settings limits on a sequence, such as
   ```yaml
   packages:
     sequence_demo:
       actions:
         my_action:
           function: main.js
           limits:
             memorySize: 1024
       sequences:
         my_sequence:
           actions: >
             my_action,
             my_action
           limits:
             memorySize: 1024
   ```
   it causes an error:
   ```
   Error: manifest_parser.go [115]: [ERROR_YAML_PARSER_ERROR]: File: [manifest.yml]: 
   ==> yaml: unmarshal errors:
   ==> line 37: field limits not found in struct parsers.Sequence
   ```
   
   However, Sequence memory limits can be set via the regular cli:
   `wsk action update my_sequence --memory 1024`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services