diff --git a/integration/container/pause_test.go b/integration/container/pause_test.go index 054e3942573a33adb70b48efc7695baa96a8ace4..ab6bfb1c3694523ea773b4360773e8f93ce26faf 100644 --- a/integration/container/pause_test.go +++ b/integration/container/pause_test.go @@ -88,6 +88,7 @@ func TestPauseStopPausedContainer(t *testing.T) { } func getEventActions(t *testing.T, messages <-chan events.Message, errs <-chan error) []string { + t.Helper() var actions []string for { select { @@ -95,7 +96,7 @@ func getEventActions(t *testing.T, messages <-chan events.Message, errs <-chan e assert.Check(t, err == nil || err == io.EOF) return actions case e := <-messages: - actions = append(actions, e.Status) + actions = append(actions, e.Action) } } }