mrutkows commented on a change in pull request #766: adding support for using
env. variables in inputs JSON
URL:
https://github.com/apache/incubator-openwhisk-wskdeploy/pull/766#discussion_r172929780
##########
File path: parsers/parameters.go
##########
@@ -322,7 +325,7 @@ func ResolveParameter(paramName string, param *Parameter,
filePath string) (inte
}
// JSON - Handle both cases, where value 1) is a string containing
JSON, 2) is a map of JSON
- if param.Type == "json" {
+ if param.Value != nil && param.Type == "json" {
Review comment:
good catch.
----------------------------------------------------------------
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:
[email protected]
With regards,
Apache Git Services