dubeejw commented on a change in pull request #2326: (WIP) Alphabetize
URL:
https://github.com/apache/incubator-openwhisk/pull/2326#discussion_r120993306
##########
File path: tools/cli/go-whisk/whisk/action.go
##########
@@ -55,6 +62,29 @@ type ActionListOptions struct {
Skip int `url:"skip"`
Docs bool `url:"docs,omitempty"`
}
+//Defines how actions should be sorted
+//Currently sorts, by default, by Alphabetical order
+func(a Action) Compare(s Sortable) bool{
+ as := s.(Action)
Review comment:
More descriptive variable names would be nice.
----------------------------------------------------------------
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