diff options
Diffstat (limited to 'extras')
-rw-r--r-- | extras/hs-test/container.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/extras/hs-test/container.go b/extras/hs-test/container.go index 4b3002f15be..43e033999e5 100644 --- a/extras/hs-test/container.go +++ b/extras/hs-test/container.go @@ -321,3 +321,10 @@ func (c *Container) createConfig(targetConfigName string, templateName string, v c.copy(f.Name(), targetConfigName) } + +func init() { + cmd := exec.Command("mkdir", "-p", logDir) + if err := cmd.Run(); err != nil { + panic(err) + } +} |