mdeuser commented on a change in pull request #2461: Get Action URL from CLI
(Review)
URL:
https://github.com/apache/incubator-openwhisk/pull/2461#discussion_r125999789
##########
File path: tools/cli/go-whisk/whisk/shared.go
##########
@@ -26,6 +26,21 @@ type KeyValue struct {
type KeyValueArr []KeyValue
+func (keyValueArr KeyValueArr) GetValue(key string) (interface{}) {
+ var res interface{}
Review comment:
minor.. since `res` holds the return value it can be declared as part of the
method signature
----------------------------------------------------------------
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