Vincent Bernat
e944d0e7bb
conntrackfixer: don't enable API version negotiation
...
This is enabled by default and requesting it is now deprecated.
2025-12-02 08:57:35 +01:00
Vincent Bernat
79619f324e
conntrackfixer: upgrade to github.com/moby/moby v29
...
There are several changes in this version.
2025-11-11 11:15:31 +01:00
Vincent Bernat
03b947e3c5
chore: fix many staticcheck warnings
...
The most important ones were fixed in the two previous commit.
2025-08-02 20:54:49 +02:00
Vincent Bernat
1699d32704
build: update github.com/docker/docker
2025-03-23 08:26:54 +01:00
Vincent Bernat
71239750ac
chore: use time.NewTimer() instead of time.After()
...
Prefer use of time.NewTimer() when there is a risk of accumulating
timers in a loop. This enables the use of t.Stop() to avoid leaking too
many timers.
For tests, we don't need to do that. For places where the alternative to
the timer is just the app dying, we don't need to do that either.
In Go 1.23, it won't make a difference.
2024-07-06 16:10:37 +02:00
dependabot[bot]
515c4830ce
build: bump github.com/docker/docker
...
Bumps [github.com/docker/docker](https://github.com/docker/docker ) from 25.0.4+incompatible to 26.0.0+incompatible.
- [Release notes](https://github.com/docker/docker/releases )
- [Commits](https://github.com/docker/docker/compare/v25.0.4...v26.0.0 )
---
updated-dependencies:
- dependency-name: github.com/docker/docker
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-04-07 09:19:24 +02:00
Vincent Bernat
beb30d9d20
conntrackfixer: bump github.com/ti-mo/conntrack to 0.5.0
2023-11-21 21:08:16 +01:00
Vincent Bernat
62521e629d
common/http: rename to common/httpserver
...
This is a preparation to introduce an httpclient common package. And it
makes it easier to use http from the standard library.
2023-05-28 09:08:29 +02:00
Vincent Bernat
20aa87f027
conntrackfixer: fix data race with logging
...
`.Msg()` should be called once on an event.
2022-12-13 00:08:25 +01:00
Vincent Bernat
e9144c7657
conntrackfixer: make it work with older versions of Docker daemon
...
Fix #104
2022-08-27 07:03:25 +02:00
Vincent Bernat
c01489948f
general: use map[string]struct{} instead of map[string]bool
2022-08-05 18:12:41 +02:00
Vincent Bernat
15fd3540ac
conntrack-fixer: don't build when not running on Linux
2022-08-05 11:23:07 +02:00
Vincent Bernat
326d880b8b
conntrack-fixer: turn it into a proper component-based
...
And add tests.
2022-08-05 11:13:39 +02:00