Merge pull request #50833 from thaJeztah/bump_go_events

vendor: github.com/docker/go-events 605354379745 (main)
This commit is contained in:
Sebastiaan van Stijn
2025-08-28 13:40:01 +02:00
committed by GitHub
5 changed files with 7 additions and 5 deletions

2
go.mod
View File

@@ -36,7 +36,7 @@ require (
github.com/distribution/reference v0.6.0
github.com/docker/distribution v2.8.3+incompatible
github.com/docker/go-connections v0.6.0
github.com/docker/go-events v0.0.0-20250114142523-c867878c5e32
github.com/docker/go-events v0.0.0-20250808211157-605354379745
github.com/docker/go-metrics v0.0.1
github.com/docker/go-units v0.5.0
github.com/fluent/fluent-logger-golang v1.9.0

4
go.sum
View File

@@ -183,8 +183,8 @@ github.com/docker/docker-credential-helpers v0.9.3 h1:gAm/VtF9wgqJMoxzT3Gj5p4AqI
github.com/docker/docker-credential-helpers v0.9.3/go.mod h1:x+4Gbw9aGmChi3qTLZj8Dfn0TD20M/fuWy0E5+WDeCo=
github.com/docker/go-connections v0.6.0 h1:LlMG9azAe1TqfR7sO+NJttz1gy6KO7VJBh+pMmjSD94=
github.com/docker/go-connections v0.6.0/go.mod h1:AahvXYshr6JgfUJGdDCs2b5EZG/vmaMAntpSFH5BFKE=
github.com/docker/go-events v0.0.0-20250114142523-c867878c5e32 h1:EHZfspsnLAz8Hzccd67D5abwLiqoqym2jz/jOS39mCk=
github.com/docker/go-events v0.0.0-20250114142523-c867878c5e32/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
github.com/docker/go-events v0.0.0-20250808211157-605354379745 h1:yOn6Ze6IbYI/KAw2lw/83ELYvZh6hvsygTVkD0dzMC4=
github.com/docker/go-events v0.0.0-20250808211157-605354379745/go.mod h1:Uw6UezgYA44ePAFQYUehOuCzmy5zmg/+nl2ZfMWGkpA=
github.com/docker/go-metrics v0.0.1 h1:AgB/0SvBxihN0X8OR4SjsblXkbMvalQ8cjmtKQ2rQV8=
github.com/docker/go-metrics v0.0.1/go.mod h1:cG1hvH2utMXtqgqqYE9plW6lDxS3/5ayHzueweSI3Vw=
github.com/docker/go-units v0.5.0 h1:69rxXcBk27SvSaaxTtLh/8llcHD8vYHT7WSdRZ/jvr4=

View File

@@ -1,6 +1,8 @@
# Docker Events Package
[![GoDoc](https://godoc.org/github.com/docker/go-events?status.svg)](https://godoc.org/github.com/docker/go-events)
[![ci](https://github.com/docker/go-events/actions/workflows/ci.yml/badge.svg)](https://github.com/docker/go-events/actions/workflows/ci.yml)
[![Go Report Card](https://goreportcard.com/badge/github.com/docker/go-events)](https://goreportcard.com/report/github.com/docker/go-events)
The Docker `events` package implements a composable event distribution package
for Go.

View File

@@ -151,7 +151,7 @@ func (b *Breaker) Proceed(event Event) time.Duration {
return 0
}
return b.last.Add(b.backoff).Sub(time.Now())
return time.Until(b.last.Add(b.backoff))
}
// Success resets the breaker.

2
vendor/modules.txt vendored
View File

@@ -511,7 +511,7 @@ github.com/docker/distribution/registry/storage/cache/memory
github.com/docker/go-connections/nat
github.com/docker/go-connections/sockets
github.com/docker/go-connections/tlsconfig
# github.com/docker/go-events v0.0.0-20250114142523-c867878c5e32
# github.com/docker/go-events v0.0.0-20250808211157-605354379745
## explicit
github.com/docker/go-events
# github.com/docker/go-metrics v0.0.1