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) {