This reverts commit 6d17d6b4ca57b56ca043240a3cb1a0510122b2f4.
@@ -1,10 +1,17 @@
package worker
import (
+ "fmt"
+ "io/ioutil"
+ "os"
+ "path/filepath"
+ "testing"
+ "time"
+
+ "github.com/codeskyblue/go-sh"
. "github.com/smartystreets/goconvey/convey"
)
-/*
func getDockerByName(name string) (string, error) {
// docker ps -f 'name=$name' --format '{{.Names}}'
out, err := sh.Command(
@@ -94,4 +101,3 @@ sleep 10
d.postExec()
})
}
-*/