Skip to content

Commit

Permalink
Stream logs at start up
Browse files Browse the repository at this point in the history
  • Loading branch information
Toshbrown committed Aug 17, 2018
1 parent 8811e1e commit 74938bd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ func main() {
}

Start(opts)
ShowLogs()
case "stop":
libDatabox.Info("Stoping Databox ...")
stopCmd.Parse(os.Args[2:])
Expand Down Expand Up @@ -350,8 +351,6 @@ func pullImage(image string, options *libDatabox.ContainerManagerOptions) {
needToPull = true
}

fmt.Println("Need to pull = ", needToPull)

if needToPull == true {
libDatabox.Info("Pulling Image " + image)
reader, err := dockerCli.ImagePull(context.Background(), image, types.ImagePullOptions{})
Expand Down

0 comments on commit 74938bd

Please sign in to comment.