aboutsummaryrefslogtreecommitdiffstats
path: root/extras/hs-test/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'extras/hs-test/container.go')
-rw-r--r--extras/hs-test/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/hs-test/container.go b/extras/hs-test/container.go
index 45f41d26a87..3ac5eee3aaa 100644
--- a/extras/hs-test/container.go
+++ b/extras/hs-test/container.go
@@ -340,7 +340,7 @@ func (c *Container) log(maxLines int) (string, error) {
}
func (c *Container) stop() error {
- if c.vppInstance != nil && c.vppInstance.apiChannel != nil {
+ if c.vppInstance != nil && c.vppInstance.apiStream != nil {
c.vppInstance.saveLogs()
c.vppInstance.disconnect()
}