From 3c40fe574ea4c5620b43c3db815e98329b428116 Mon Sep 17 00:00:00 2001 From: smorihira Date: Mon, 9 Sep 2024 14:00:14 +0900 Subject: [PATCH] fix: modify setPullRequestPaths func name --- hack/actions/gen/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hack/actions/gen/main.go b/hack/actions/gen/main.go index 51d955aff35..303777342bb 100644 --- a/hack/actions/gen/main.go +++ b/hack/actions/gen/main.go @@ -356,7 +356,7 @@ const ( buildkitSyftScanner = "buildkit-syft-scanner" ) -func (data *Data) setPullRequestPaths() { +func (data *Data) initPullRequestPaths() { switch data.Name { // the benchmark components trigger each other, not just themselves case benchJob: @@ -442,7 +442,7 @@ func (data *Data) setPullRequestPaths() { } func (data *Data) initData() { - data.setPullRequestPaths() + data.initPullRequestPaths() if data.AliasImage { data.BuildPlatforms = "linux/amd64,linux/arm64"