This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/openwhisk-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 13fc65f  add Env field in action (#158)
13fc65f is described below

commit 13fc65f65684e04f401fee67b231b370c53b3dcd
Author: Giuseppe De Palma <[email protected]>
AuthorDate: Fri Apr 21 10:15:59 2023 +0200

    add Env field in action (#158)
---
 whisk/action.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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 @@ type Action struct {
        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 @@ func (action Action) ToHeaderString() string {
 }
 
 // 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

Reply via email to