Skip to content

chore(deps): update module github.com/alitto/pond to v2 #32

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module github.com/doodlescheduling/tfxunpack
go 1.24.0

require (
github.com/alitto/pond v1.9.2
github.com/alitto/pond/v2 v2.4.0
github.com/crossplane/crossplane-runtime v1.20.0
github.com/go-logr/logr v1.4.3
github.com/go-logr/zapr v1.3.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
dario.cat/mergo v1.0.2 h1:85+piFYR1tMbRrLcDwR18y4UKJ3aH1Tbzi24VRW1TK8=
dario.cat/mergo v1.0.2/go.mod h1:E/hbnu0NxMFBjpMIE34DRGLWqDy0g5FuKDhCb31ngxA=
github.com/alitto/pond v1.9.2 h1:9Qb75z/scEZVCoSU+osVmQ0I0JOeLfdTDafrbcJ8CLs=
github.com/alitto/pond v1.9.2/go.mod h1:xQn3P/sHTYcU/1BR3i86IGIrilcrGC2LiS+E2+CJWsI=
github.com/alitto/pond/v2 v2.4.0 h1:ZsJTPeqFOrdLuvjSfwveO5c5OwL3LvAVylburWZPDPM=
github.com/alitto/pond/v2 v2.4.0/go.mod h1:xkjYEgQ05RSpWdfSd1nM3OVv7TBhLdy7rMp3+2Nq+yE=
github.com/beorn7/perks v1.0.1 h1:VlbKKnNfV8bJzeqoa4cOKqO6bYr3WgKZxO8Z16+hsOM=
github.com/beorn7/perks v1.0.1/go.mod h1:G2ZrVWU2WbWT9wwq4/hrbKbnv/1ERSJQ0ibhJ6rlkpw=
github.com/cespare/xxhash/v2 v2.3.0 h1:UL815xU9SqsFlibzuggzjXhog7bL6oX9BbNZnL2UFvs=
Expand Down
2 changes: 1 addition & 1 deletion internal/parser/parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"runtime/debug"
"strings"

"github.com/alitto/pond"
"github.com/alitto/pond/v2"
v1 "github.com/crossplane/crossplane-runtime/apis/common/v1"
"github.com/crossplane/crossplane-runtime/pkg/resource"
"github.com/go-logr/logr"
Expand Down Expand Up @@ -41,8 +41,8 @@
errs <- fmt.Errorf("worker exits from a panic: %v\nStack trace: %s", panic, string(debug.Stack()))
}

pool := pond.New(p.Workers, p.Workers, pond.Context(ctx), pond.PanicHandler(panicHandler))

Check failure on line 44 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / fmt

undefined: pond.PanicHandler

Check failure on line 44 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / fmt

undefined: pond.Context

Check failure on line 44 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / fmt

undefined: pond.New

Check failure on line 44 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / build

undefined: pond.PanicHandler

Check failure on line 44 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / build

undefined: pond.Context

Check failure on line 44 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / build

undefined: pond.New
outWriter := pond.New(1, 1, pond.Context(ctx), pond.PanicHandler(panicHandler))

Check failure on line 45 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / fmt

undefined: pond.PanicHandler

Check failure on line 45 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / fmt

undefined: pond.Context

Check failure on line 45 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / fmt

undefined: pond.New

Check failure on line 45 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / build

undefined: pond.PanicHandler

Check failure on line 45 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / build

undefined: pond.Context

Check failure on line 45 in internal/parser/parser.go

View workflow job for this annotation

GitHub Actions / build

undefined: pond.New

objects := make(chan runtime.Object, p.Workers)
index := make(ResourceIndex)
Expand Down
Loading