Fix test: initialize dockerHook with embedded provider

This commit is contained in:
WANG Ziqin 2019-07-31 17:29:28 +08:00
parent 06fce98c00
commit 4854d9b981
2 changed files with 5 additions and 3 deletions

View File

@ -55,7 +55,9 @@ sleep 10
So(err, ShouldBeNil)
d := &dockerHook{
emptyHook: emptyHook{
provider: provider,
},
image: "alpine",
volumes: []string{
fmt.Sprintf("%s:%s", cmdScript, "/bin/cmd.sh"),