Browse code

vendor: update go-events to fix alignment for 32bit systems

- relates to moby/buildkit 1111
- relates to moby/buildkit 1079
- relates to docker/buildx 129

full diff: https://github.com/docker/go-events/compare/9461782956ad83b30282bf90e31fa6a70c255ba9...e31b211e4f1cd09aa76fe4ac244571fab96ae47f

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit e7183dbfe967e70429df8ec458c617d6954f78d4)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2020/04/04 08:35:38
Showing 2 changed files
... ...
@@ -39,7 +39,7 @@ github.com/gofrs/flock                              7f43ea2e6a643ad441fc12d0ecc0
39 39
 
40 40
 # When updating, also update LIBNETWORK_COMMIT in hack/dockerfile/install/proxy.installer accordingly
41 41
 github.com/docker/libnetwork                        b9bcf0c3fba9ef8897c9676c5b70ba0345b84b17 # bump_19.03 branch
42
-github.com/docker/go-events                         9461782956ad83b30282bf90e31fa6a70c255ba9
42
+github.com/docker/go-events                         e31b211e4f1cd09aa76fe4ac244571fab96ae47f
43 43
 github.com/armon/go-radix                           e39d623f12e8e41c7b5529e9a9dd67a1e2261f80
44 44
 github.com/armon/go-metrics                         eb0af217e5e9747e41dd5303755356b62d28e3ec
45 45
 github.com/hashicorp/go-msgpack                     71c2886f5a673a35f909803f38ece5810165097b
... ...
@@ -203,8 +203,8 @@ type ExponentialBackoffConfig struct {
203 203
 // ExponentialBackoff implements random backoff with exponentially increasing
204 204
 // bounds as the number consecutive failures increase.
205 205
 type ExponentialBackoff struct {
206
+	failures uint64 // consecutive failure counter (needs to be 64-bit aligned)
206 207
 	config   ExponentialBackoffConfig
207
-	failures uint64 // consecutive failure counter.
208 208
 }
209 209
 
210 210
 // NewExponentialBackoff returns an exponential backoff strategy with the