This repository was archived by the owner on Feb 27, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed
Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -197,7 +197,7 @@ You can use boot2docker-cli to upgrade:
197197
198198To do so, run the ` boot2docker upgrade ` command.
199199
200- ```
200+ ``` console
201201$ boot2docker upgrade
202202Backing up existing docker binary...
203203Downloading new docker client binary...
Original file line number Diff line number Diff line change @@ -3,9 +3,8 @@ package main
33import (
44 "encoding/json"
55 "fmt"
6- "net/http"
7-
86 "io/ioutil"
7+ "net/http"
98 "os"
109 "os/exec"
1110 "path/filepath"
@@ -14,10 +13,9 @@ import (
1413 "strings"
1514 "time"
1615
16+ "github.com/boot2docker/boot2docker-cli/driver"
1717 _ "github.com/boot2docker/boot2docker-cli/dummy"
1818 _ "github.com/boot2docker/boot2docker-cli/virtualbox"
19-
20- "github.com/boot2docker/boot2docker-cli/driver"
2119)
2220
2321// Initialize the boot2docker VM from scratch.
@@ -332,7 +330,7 @@ func upgradeBoot2DockerBinary() error {
332330 goos = runtime .GOOS
333331 case "windows" :
334332 goos = "windows"
335- arch = "windows "
333+ arch = "amd64 "
336334 ext = ".exe"
337335 default :
338336 return fmt .Errorf ("Operating system not supported" )
You can’t perform that action at this time.
0 commit comments