Skip to content

Commit 85ba91b

Browse files
authored
Merge pull request #142 from phase2/develop
2.1.1 release
2 parents b1a93f6 + 21c9ef1 commit 85ba91b

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

Gopkg.lock

Lines changed: 1 addition & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

commands/dashboard.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ func (cmd *Dashboard) Commands() []cli.Command {
3333
func (cmd *Dashboard) Run(ctx *cli.Context) error {
3434
if cmd.machine.IsRunning() || util.SupportsNativeDocker() {
3535
cmd.out.Info("Launching Dashboard")
36-
err := cmd.LaunchDashboard(cmd.machine)
37-
if err != nil {
36+
if err := cmd.LaunchDashboard(cmd.machine); err == nil {
3837
// Success may be presumed to only execute once per command execution.
3938
// This allows calling LaunchDashboard() from start.go without success.
4039
return cmd.Success("")

commands/dns.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ func (cmd *DNS) StartDNS(machine Machine, nameservers string) error {
145145
"-l", "com.dnsdock.image=outrigger",
146146
"--name", "dnsdock",
147147
"-p", fmt.Sprintf("%s:53:53/udp", bridgeIP),
148-
"aacebedo/dnsdock:v1.16.1-amd64",
148+
"aacebedo/dnsdock:v1.16.4-amd64",
149149
"--domain=vm",
150150
}
151151
for _, server := range dnsServers {

commands/kill.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func (cmd *Kill) Commands() []cli.Command {
1717
return []cli.Command{
1818
{
1919
Name: "kill",
20-
Usage: "Kill the docker-machine",
20+
Usage: "Kill the docker-machine. Useful when stop does not appear to be working",
2121
Before: cmd.Before,
2222
Action: cmd.Run,
2323
},
@@ -40,7 +40,7 @@ func (cmd *Kill) Run(c *cli.Context) error {
4040
return err
4141
}
4242

43-
cmd.out.Info("Killing machine '%s'", cmd.machine.Name)
43+
cmd.out.Spin(fmt.Sprintf("Killing machine '%s'...", cmd.machine.Name))
4444
util.StreamCommand("docker-machine", "kill", cmd.machine.Name)
4545

4646
// Ensure the underlying virtualization has stopped

0 commit comments

Comments
 (0)