From 14cdd42755731f22133eb727e319320b2656b8c7 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Wed, 4 Mar 2026 11:57:58 -0800 Subject: [PATCH] whisk: fix malformed JSON tag Signed-off-by: Lars Lehtonen --- whisk/trigger.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/whisk/trigger.go b/whisk/trigger.go index bda970dd..194ccde3 100644 --- a/whisk/trigger.go +++ b/whisk/trigger.go @@ -20,10 +20,11 @@ package whisk import ( "errors" "fmt" - "github.com/apache/openwhisk-client-go/wski18n" "net/http" "net/url" "strings" + + "github.com/apache/openwhisk-client-go/wski18n" ) type TriggerService struct { @@ -32,7 +33,7 @@ type TriggerService struct { type Trigger struct { Namespace string `json:"namespace,omitempty"` - Name string `json:"name,omityempty"` + Name string `json:"name,omitempty"` Version string `json:"version,omitempty"` ActivationId string `json:"activationId,omitempty"` Annotations KeyValueArr `json:"annotations,omitempty"` @@ -72,7 +73,9 @@ func (trigger Trigger) ToHeaderString() string { } // ToSummaryRowString() returns a compound string of required parameters for printing -// from CLI command `wsk trigger list`. +// +// from CLI command `wsk trigger list`. +// // ***Method of type Sortable*** func (trigger Trigger) ToSummaryRowString() string { publishState := wski18n.T("private")