add Env field in action (#158)
diff --git a/whisk/action.go b/whisk/action.go
index 3673236..19f67ec 100644
--- a/whisk/action.go
+++ b/whisk/action.go
@@ -44,6 +44,7 @@
Code int `json:"code,omitempty"`
Publish *bool `json:"publish,omitempty"`
Updated int64 `json:"updated,omitempty"`
+ Env KeyValueArr `json:"env,omitempty"`
}
type Exec struct {
@@ -92,7 +93,7 @@
}
// ToSummaryRowString() returns a compound string of required parameters for printing
-// from CLI command `wsk action list`.
+// from CLI command `wsk action list`.
// ***Method of type Sortable***
func (action Action) ToSummaryRowString() string {
var kind string