You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/08/12 06:28:08 UTC

[GitHub] [openwhisk-client-go] ningyougang commented on a change in pull request #137: Add DelAnnotations field to support del annotation

ningyougang commented on a change in pull request #137:
URL: https://github.com/apache/openwhisk-client-go/pull/137#discussion_r469032396



##########
File path: whisk/action.go
##########
@@ -31,17 +31,18 @@ type ActionService struct {
 }
 
 type Action struct {
-	Namespace   string      `json:"namespace,omitempty"`
-	Name        string      `json:"name,omitempty"`
-	Version     string      `json:"version,omitempty"`
-	Exec        *Exec       `json:"exec,omitempty"`
-	Annotations KeyValueArr `json:"annotations,omitempty"`
-	Parameters  KeyValueArr `json:"parameters,omitempty"`
-	Limits      *Limits     `json:"limits,omitempty"`
-	Error       string      `json:"error,omitempty"`
-	Code        int         `json:"code,omitempty"`
-	Publish     *bool       `json:"publish,omitempty"`
-	Updated     int64       `json:"updated,omitempty"`
+	Namespace      string      `json:"namespace,omitempty"`
+	Name           string      `json:"name,omitempty"`
+	Version        string      `json:"version,omitempty"`
+	Exec           *Exec       `json:"exec,omitempty"`
+	Annotations    KeyValueArr `json:"annotations,omitempty"`
+	DelAnnotations []string    `json:"delAnnotations,omitempty"`

Review comment:
       Just added field `DelAnnotations []string `




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org