From 47bf36cb6835871cec5f0f85133a72d0f5187b04 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Mon, 17 Jun 2024 13:44:19 +0200 Subject: [PATCH] Bump to golangci-lint v1.59.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- .github/workflows/pr-golangci-lint.yaml | 2 +- test/framework/log/collector.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr-golangci-lint.yaml b/.github/workflows/pr-golangci-lint.yaml index ca98b3fe84..e6c54119f7 100644 --- a/.github/workflows/pr-golangci-lint.yaml +++ b/.github/workflows/pr-golangci-lint.yaml @@ -29,6 +29,6 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # tag=v6.0.1 with: - version: v1.57.2 + version: v1.59.0 args: --out-format=colored-line-number working-directory: ${{matrix.working-directory}} diff --git a/test/framework/log/collector.go b/test/framework/log/collector.go index 224c5430b6..fcb540ff23 100644 --- a/test/framework/log/collector.go +++ b/test/framework/log/collector.go @@ -144,7 +144,7 @@ func (c *MachineLogCollector) machineIPAddresses(ctx context.Context, m *cluster } func createOutputFile(path string) (*os.File, error) { - if err := os.MkdirAll(filepath.Dir(path), os.ModePerm); err != nil { + if err := os.MkdirAll(filepath.Dir(path), 0750); err != nil { return nil, err } return os.Create(filepath.Clean(path))