From a2b27721cb00ee04657f01db3f1f1edb9df0a2f9 Mon Sep 17 00:00:00 2001 From: Hiroto Funakoshi Date: Mon, 9 Sep 2024 18:47:21 +0900 Subject: [PATCH] Update hack/actions/gen/main.go Signed-off-by: Hiroto Funakoshi --- hack/actions/gen/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/actions/gen/main.go b/hack/actions/gen/main.go index 89e4af296ab..d5be92145f4 100644 --- a/hack/actions/gen/main.go +++ b/hack/actions/gen/main.go @@ -706,7 +706,7 @@ func main() { log.Infof("Generating %s's workflow", data.Name) workflow, err := data.generateWorkflowStruct() if err != nil { - return fmt.Errorf("Error generating workflowStruct: %v", err) + return fmt.Errorf("Error generating workflowStruct: %w", err) } workflowYamlTmp, err := yaml.Marshal(workflow) if err != nil {