summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/framework_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/framework_test.go')
-rw-r--r--extras/hs-test/framework_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/extras/hs-test/framework_test.go b/extras/hs-test/framework_test.go
index 056be13d597..76d8e58724f 100644
--- a/extras/hs-test/framework_test.go
+++ b/extras/hs-test/framework_test.go
@@ -131,7 +131,9 @@ func (s *HstSuite) loadContainerTopology(topologyName string) {
}
for _, elem := range yamlTopo.Volumes {
- s.volumes = append(s.volumes, elem)
+ volumeMap := elem["volume"].(VolumeConfig)
+ hostDir := volumeMap["host-dir"].(string)
+ s.volumes = append(s.volumes, hostDir)
}
s.containers = make(map[string]*Container)