aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/topo.go
diff options
context:
space:
mode:
authorFilip Tehlar <ftehlar@cisco.com>2023-01-09 12:07:09 +0100
committerFilip Tehlar <ftehlar@cisco.com>2023-01-09 12:14:23 +0100
commitf3ee2b636ad3b12e7484ec6fb13f220699417046 (patch)
tree20a2f6a1a0b42d0306e947b9b19f6861df5dbb92 /extras/hs-test/topo.go
parentc204c87c186993704927beffa4d5b1cafaf9a193 (diff)
hs-test: fix code style
This will add a new target (fixstyle) to Makefile that runs gofmt tool. Type: style Signed-off-by: Filip Tehlar <ftehlar@cisco.com> Change-Id: Icba60633f82aa8bbc75749f080e00f0375b55a18
Diffstat (limited to 'extras/hs-test/topo.go')
-rwxr-xr-xextras/hs-test/topo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/extras/hs-test/topo.go b/extras/hs-test/topo.go
index 1d501e8f2da..cf50dadd42a 100755
--- a/extras/hs-test/topo.go
+++ b/extras/hs-test/topo.go
@@ -13,9 +13,9 @@ type NetDevConfig map[string]interface{}
type ContainerConfig map[string]interface{}
type YamlTopology struct {
- Devices []NetDevConfig `yaml:"devices"`
+ Devices []NetDevConfig `yaml:"devices"`
Containers []ContainerConfig `yaml:"containers"`
- Volumes []string `yaml:"volumes"`
+ Volumes []string `yaml:"volumes"`
}
func AddAddress(device, address, ns string) error {