Skip to content
This repository has been archived by the owner on Jun 7, 2018. It is now read-only.

Commit

Permalink
Merge pull request #1 from calavera/master
Browse files Browse the repository at this point in the history
Leave version number empty to stick always to the latest engine version.
  • Loading branch information
Jess Frazelle committed Jan 7, 2016
2 parents 1fb70d1 + 9529f63 commit a523330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tor/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func (d *Driver) Leave(r *network.LeaveRequest) error {
// NewDriver creates a new Driver pointer.
func NewDriver() (*Driver, error) {
defaultHeaders := map[string]string{"User-Agent": "engine-api-cli-1.0"}
dcli, err := client.NewClient("unix:///var/run/docker.sock", "v1.21", nil, defaultHeaders)
dcli, err := client.NewClient("unix:///var/run/docker.sock", "", nil, defaultHeaders)
if err != nil {
return nil, fmt.Errorf("could not connect to docker: %s", err)
}
Expand Down

0 comments on commit a523330

Please sign in to comment.