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

Commit b931320

Browse files
Implement a few things from code review feedback
Signed-off-by: Nathan LeClaire <nathan.leclaire@gmail.com>
1 parent 4a02eca commit b931320

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ You can use boot2docker-cli to upgrade:
197197

198198
To do so, run the `boot2docker upgrade` command.
199199

200-
```
200+
```console
201201
$ boot2docker upgrade
202202
Backing up existing docker binary...
203203
Downloading new docker client binary...

cmds.go

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,8 @@ package main
33
import (
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")

0 commit comments

Comments
 (0)