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 2017/10/20 18:10:33 UTC
[GitHub] mrutkows commented on issue #612: Allow use of "kind" for "runtime" field (overloaded semantic) with warning
mrutkows commented on issue #612: Allow use of "kind" for "runtime" field (overloaded semantic) with warning
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/issues/612#issuecomment-338282439
This would mean supporting it in "yamlparser.go" within the Action struct and providing specific code to handle the overload:
```
type Action struct {
//mapping to wsk.Action.Version
Version string `yaml:"version"` //used in manifest.yaml
Location string `yaml:"location"` //deprecated, used in manifest.yaml
Function string `yaml:"function"` //used in manifest.yaml
**Runtime** string `yaml:"**runtime**,omitempty"` //used in manifest.yaml
...
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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