diff options
Diffstat (limited to 'extras/hs-test/topo.go')
-rw-r--r-- | extras/hs-test/topo.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extras/hs-test/topo.go b/extras/hs-test/topo.go index cf50dadd42a..b7e883bd773 100644 --- a/extras/hs-test/topo.go +++ b/extras/hs-test/topo.go @@ -11,11 +11,12 @@ import ( type NetDevConfig map[string]interface{} type ContainerConfig map[string]interface{} +type VolumeConfig map[string]interface{} type YamlTopology struct { Devices []NetDevConfig `yaml:"devices"` Containers []ContainerConfig `yaml:"containers"` - Volumes []string `yaml:"volumes"` + Volumes []VolumeConfig `yaml:"volumes"` } func AddAddress(device, address, ns string) error { |