diff --git a/go.mod b/go.mod index fc776dd2..733bbe27 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ require ( github.com/Azure/go-autorest/autorest v0.11.30 github.com/Azure/go-autorest/autorest/adal v0.9.24 github.com/Azure/go-autorest/tracing v0.6.1 - github.com/alitto/pond/v2 v2.7.0 + github.com/alitto/pond/v2 v2.7.1 github.com/dlclark/regexp2 v1.11.5 github.com/docker/cli v29.4.0+incompatible github.com/golang-jwt/jwt/v4 v4.5.2 diff --git a/go.sum b/go.sum index 29b05f98..04ccf2c1 100644 --- a/go.sum +++ b/go.sum @@ -17,8 +17,8 @@ github.com/Azure/go-autorest/logger v0.2.1/go.mod h1:T9E3cAhj2VqvPOtCYAvby9aBXkZ github.com/Azure/go-autorest/tracing v0.6.0/go.mod h1:+vhtPC754Xsa23ID7GlGsrdKBpUA79WCAKPPZVC2DeU= github.com/Azure/go-autorest/tracing v0.6.1 h1:YUMSrC/CeD1ZnnXcNYU4a/fzsO35u2Fsful9L/2nyR0= github.com/Azure/go-autorest/tracing v0.6.1/go.mod h1:/3EgjbsjraOqiicERAeu3m7/z0x1TzjQGAwDrJrXGkc= -github.com/alitto/pond/v2 v2.7.0 h1:c76L+yN916m/DRXjGCeUBHHu92uWnh/g1bwVk4zyyXg= -github.com/alitto/pond/v2 v2.7.0/go.mod h1:xkjYEgQ05RSpWdfSd1nM3OVv7TBhLdy7rMp3+2Nq+yE= +github.com/alitto/pond/v2 v2.7.1 h1:QxMbcfjcVTa0pyxX5Ib1226mM8u8D7gKUVkCUU4DYIw= +github.com/alitto/pond/v2 v2.7.1/go.mod h1:xkjYEgQ05RSpWdfSd1nM3OVv7TBhLdy7rMp3+2Nq+yE= github.com/cpuguy83/go-md2man/v2 v2.0.6/go.mod h1:oOW0eioCTA6cOiMLiUPZOpcVxMig6NIQQ7OS05n1F4g= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= github.com/creack/pty v1.1.18 h1:n56/Zwd5o6whRC5PMGretI4IdRLlmBXYNjScPaBgsbY= diff --git a/vendor/github.com/alitto/pond/v2/pool.go b/vendor/github.com/alitto/pond/v2/pool.go index 4fcae8a1..ad9542ea 100644 --- a/vendor/github.com/alitto/pond/v2/pool.go +++ b/vendor/github.com/alitto/pond/v2/pool.go @@ -34,8 +34,8 @@ var ( }() ) -// basePool is the base interface for all pool types. -type basePool interface { +// BasePool defines methods common to all pool types. +type BasePool interface { // Returns the number of worker goroutines that are currently active (executing a task) in the pool. RunningWorkers() int64 @@ -94,7 +94,7 @@ type basePool interface { // Represents a pool of goroutines that can execute tasks concurrently. type Pool interface { - basePool + BasePool // Submits a task to the pool without waiting for it to complete. // The pool will not accept new tasks after it has been stopped. diff --git a/vendor/github.com/alitto/pond/v2/result.go b/vendor/github.com/alitto/pond/v2/result.go index 6db87506..3f0d4d4d 100644 --- a/vendor/github.com/alitto/pond/v2/result.go +++ b/vendor/github.com/alitto/pond/v2/result.go @@ -8,7 +8,7 @@ import ( // ResultPool is a pool that can be used to submit tasks that return a result. type ResultPool[R any] interface { - basePool + BasePool // Submits a task to the pool and returns a future that can be used to wait for the task to complete and get the result. // The pool will not accept new tasks after it has been stopped. diff --git a/vendor/modules.txt b/vendor/modules.txt index ae5afc2c..246c51d5 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -21,7 +21,7 @@ github.com/Azure/go-autorest/logger # github.com/Azure/go-autorest/tracing v0.6.1 ## explicit; go 1.15 github.com/Azure/go-autorest/tracing -# github.com/alitto/pond/v2 v2.7.0 +# github.com/alitto/pond/v2 v2.7.1 ## explicit; go 1.20 github.com/alitto/pond/v2 github.com/alitto/pond/v2/internal/future