From 29a30073ba37459bef8b8ec17de3621e51c76dd5 Mon Sep 17 00:00:00 2001 From: Hiroto Funakoshi Date: Mon, 9 Sep 2024 18:45:56 +0900 Subject: [PATCH] Update hack/actions/gen/main.go Signed-off-by: Hiroto Funakoshi --- hack/actions/gen/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hack/actions/gen/main.go b/hack/actions/gen/main.go index 3dd5007a230..89e4af296ab 100644 --- a/hack/actions/gen/main.go +++ b/hack/actions/gen/main.go @@ -447,7 +447,7 @@ func (data *Data) initPullRequestPaths() { } } -func (data *Data) initData() *Data { +func (data *Data) initData() { data.initPullRequestPaths() if data.AliasImage { @@ -463,7 +463,6 @@ func (data *Data) initData() *Data { } else { data.Maintainer = defaultMaintainer } - return data } func (data *Data) generateWorkflowStruct() (*Workflow, error) {