diff --git a/hack/actions/gen/main.go b/hack/actions/gen/main.go index 89e4af296a..d5be92145f 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 {