dubeejw commented on a change in pull request #2544: Allow CLI to Save Code from Action (Review) URL: https://github.com/apache/incubator-openwhisk/pull/2544#discussion_r137355103
########## File path: tools/cli/go-whisk/whisk/action.go ########## @@ -51,6 +51,7 @@ type Exec struct { Init string `json:"init,omitempty"` Main string `json:"main,omitempty"` Components []string `json:"components,omitempty"` // List of fully qualified actions + Binary *bool `json:"binary,omitempty"` Review comment: Turns out we can just use the struct to organize data in the code making it easier to deal with and print the entire payload from the HTTP response instead. ---------------------------------------------------------------- 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: us...@infra.apache.org With regards, Apache Git Services