mirror of https://github.com/docker/cli.git
bump golang.org/x/sync e225da77a7e68af35c70ccbf71af2b83e6acac3c
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
b6cee4567c
commit
767fafdb32
|
@ -81,7 +81,7 @@ github.com/xeipuuv/gojsonschema 93e72a773fade158921402d6a24c
|
||||||
golang.org/x/crypto 38d8ce5564a5b71b2e3a00553993f1b9a7ae852f
|
golang.org/x/crypto 38d8ce5564a5b71b2e3a00553993f1b9a7ae852f
|
||||||
golang.org/x/net eb5bcb51f2a31c7d5141d810b70815c05d9c9146
|
golang.org/x/net eb5bcb51f2a31c7d5141d810b70815c05d9c9146
|
||||||
golang.org/x/oauth2 ef147856a6ddbb60760db74283d2424e98c87bff
|
golang.org/x/oauth2 ef147856a6ddbb60760db74283d2424e98c87bff
|
||||||
golang.org/x/sync 42b317875d0fa942474b76e1b46a6060d720ae6e
|
golang.org/x/sync e225da77a7e68af35c70ccbf71af2b83e6acac3c
|
||||||
golang.org/x/sys d455e41777fca6e8a5a79e34a14b8368bc11d9ba
|
golang.org/x/sys d455e41777fca6e8a5a79e34a14b8368bc11d9ba
|
||||||
golang.org/x/text f21a4dfb5e38f5895301dc265a8def02365cc3d0 # v0.3.0
|
golang.org/x/text f21a4dfb5e38f5895301dc265a8def02365cc3d0 # v0.3.0
|
||||||
golang.org/x/time fbb02b2291d28baffd63558aa44b4b56f178d650
|
golang.org/x/time fbb02b2291d28baffd63558aa44b4b56f178d650
|
||||||
|
|
|
@ -32,9 +32,9 @@ type Weighted struct {
|
||||||
waiters list.List
|
waiters list.List
|
||||||
}
|
}
|
||||||
|
|
||||||
// Acquire acquires the semaphore with a weight of n, blocking only until ctx
|
// Acquire acquires the semaphore with a weight of n, blocking until resources
|
||||||
// is done. On success, returns nil. On failure, returns ctx.Err() and leaves
|
// are available or ctx is done. On success, returns nil. On failure, returns
|
||||||
// the semaphore unchanged.
|
// ctx.Err() and leaves the semaphore unchanged.
|
||||||
//
|
//
|
||||||
// If ctx is already done, Acquire may still succeed without blocking.
|
// If ctx is already done, Acquire may still succeed without blocking.
|
||||||
func (s *Weighted) Acquire(ctx context.Context, n int64) error {
|
func (s *Weighted) Acquire(ctx context.Context, n int64) error {
|
||||||
|
|
Loading…
Reference in New Issue