summaryrefslogtreecommitdiffstats
path: root/extras/hs-test/vppinstance.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/vppinstance.go')
-rw-r--r--extras/hs-test/vppinstance.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/extras/hs-test/vppinstance.go b/extras/hs-test/vppinstance.go
index 15524b826c2..14d6ab6ba9d 100644
--- a/extras/hs-test/vppinstance.go
+++ b/extras/hs-test/vppinstance.go
@@ -91,6 +91,9 @@ func (vpp *VppInstance) start() error {
}
serializedConfig, err := serializeVppConfig(vpp.config)
+ if err != nil {
+ return fmt.Errorf("serialize vpp config: %v", err)
+ }
args := fmt.Sprintf("%s '%s'", vpp.actionFuncName, serializedConfig)
_, err = vpp.container.execAction(args)
if err != nil {