Skip to content

Commit

Permalink
plugins/cilium-docker: enable API version negotiation in client
Browse files Browse the repository at this point in the history
This allows the cilium-docker plugin to work with docker v26.0.0.

Signed-off-by: Tobias Klauser <[email protected]>
  • Loading branch information
tklauser committed Apr 9, 2024
1 parent 7ece278 commit ce4b834
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/cilium-docker/driver/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ func NewDriver(ciliumSockPath, dockerHostPath string) (Driver, error) {
scopedLog = scopedLog.WithField("dockerHostPath", dockerHostPath)
dockerCli, err := dockerCliAPI.NewClientWithOpts(
dockerCliAPI.WithHost(dockerHostPath),
dockerCliAPI.WithAPIVersionNegotiation(),
)
if err != nil {
scopedLog.WithError(err).Fatal("Error while starting cilium-client")
Expand Down

0 comments on commit ce4b834

Please sign in to comment.