Skip to content

Commit

Permalink
Merge pull request #3062 from sbueringer/pr-bump-golangci-lint
Browse files Browse the repository at this point in the history
🌱 Bump to golangci-lint v1.59.0
  • Loading branch information
k8s-ci-robot committed Jun 17, 2024
2 parents 6a680b2 + 47bf36c commit 82ec23c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-golangci-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
2 changes: 1 addition & 1 deletion test/framework/log/collector.go
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 82ec23c

Please sign in to comment.