Remove some debug

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2014-06-06 10:48:31 -07:00 committed by Solomon Hykes
parent 9e034af324
commit cccc4efa78
1 changed files with 0 additions and 4 deletions

View File

@ -43,13 +43,11 @@ func cmdDaemon(c *cli.Context) {
dockerHost = "unix:///var/run/docker.sock"
}
utils.Debugf("---> Spawning")
instance, err := backend.Spawn(dockerHost)
if err != nil {
Fatalf("spawn: %v\n", err)
}
utils.Debugf("---> Attaching")
instanceIn, instanceOut, err := instance.Attach("")
if err != nil {
Fatalf("attach: %v", err)
@ -57,7 +55,6 @@ func cmdDaemon(c *cli.Context) {
defer instanceOut.Close()
go beam.Copy(app, instanceIn)
utils.Debugf("---> Starting")
if err := instance.Start(); err != nil {
Fatalf("start: %v", err)
}
@ -72,7 +69,6 @@ func doCmd(instance *beam.Object, args []string) error {
if len(args) == 0 {
return fmt.Errorf("no command supplied")
}
utils.Debugf("---> %s", args[0])
if args[0] == "ps" {
if len(args) != 1 {
return fmt.Errorf("usage: ps")