Skip to content

Commit

Permalink
fix build issue with updated moby
Browse files Browse the repository at this point in the history
Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
  • Loading branch information
tonistiigi committed Jun 22, 2017
1 parent f9d207e commit cbca69c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/command/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func (cli *DockerCli) Initialize(opts *cliflags.ClientOptions) error {

// if server version is lower than the current cli, downgrade
if versions.LessThan(ping.APIVersion, cli.client.ClientVersion()) {
cli.client.UpdateClientVersion(ping.APIVersion)
cli.client.NegotiateAPIVersionPing(ping)
}
} else {
// Default to true if we fail to connect to daemon
Expand Down

0 comments on commit cbca69c

Please sign in to comment.