Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #117 from duck8823/maintenance/deprecated_api
Browse files Browse the repository at this point in the history
Remove deprecated api using
  • Loading branch information
duck8823 authored Oct 16, 2018
2 parents b1cc405 + f58d9a6 commit 94cca96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion infrastructure/docker/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type clientImpl struct {

// New returns docker client.
func New() (*clientImpl, error) {
cli, err := moby.NewEnvClient()
cli, err := moby.NewClientWithOpts(moby.FromEnv)
if err != nil {
return nil, errors.WithStack(err)
}
Expand Down

0 comments on commit 94cca96

Please sign in to comment.