8000 Fix deprecated used of github.com/docker/docker/client · symfony-cli/symfony-cli@7456df9 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7456df9

Browse files
committed
Fix deprecated used of github.com/docker/docker/client
1 parent ca60a62 commit 7456df9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

envs/docker.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ func (l *Local) RelationshipsFromDocker() Relationships {
7777
dialer := &net.Dialer{
7878
Timeout: 2 * time.Second,
7979
}
80-
opts = append(opts, docker.WithDialer(dialer))
80+
opts = append(opts, docker.WithDialContext(dialer.DialContext))
8181
}
8282
client, err := docker.NewClientWithOpts(opts...)
8383
if err != nil {

0 commit comments

Comments
 (0)
0