Skip to content

Commit

Permalink
fix(ci): increase timeout for golangci-lint
Browse files Browse the repository at this point in the history
32d298106c4608c6c41daef125f0f1390203186b
  • Loading branch information
kabachook committed May 22, 2024
1 parent 9863284 commit e036d2c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: v1.58.2
version: v1.58.2
args: --timeout=10m
2 changes: 1 addition & 1 deletion client/resourcehierarchy.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ func NewResourceHierarchy(ctx context.Context, logger zerolog.Logger, sdk *ycsdk
(items[i].Cloud < items[j].Cloud) &&
(items[i].Folder < items[j].Folder)
})
slices.Compact(items)
items = slices.Compact(items)

return &ResourceHierarchy{
items: items,
Expand Down

0 comments on commit e036d2c

Please sign in to comment.