Skip to content

Commit

Permalink
Merge pull request harness#175 from miracle2k/patch-1
Browse files Browse the repository at this point in the history
Support DOCKER_HOST w/o protocol
  • Loading branch information
bradrydzewski committed Mar 9, 2014
2 parents 265138c + 4130c01 commit d406aab
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/build/docker/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,8 @@ func (c *Client) setHost(defaultUnixSocket string) {
if len(pieces) == 2 {
c.proto = pieces[0]
c.addr = pieces[1]
} else if len(pieces) == 1 {
c.addr = pieces[0]
}
} else {
// if the default socket doesn't exist then
Expand Down

0 comments on commit d406aab

Please sign in to comment.