diff --git a/plugins/system/mock_PS.go b/plugins/system/mock_PS.go index 70d0f20d5..602e34ee9 100644 --- a/plugins/system/mock_PS.go +++ b/plugins/system/mock_PS.go @@ -77,3 +77,11 @@ func (m *MockPS) DockerStat() ([]*DockerContainerStat, error) { return r0, r1 } +func (m *MockPS) NetConnections() ([]net.NetConnectionStat, error) { + ret := m.Called() + + r0 := ret.Get(0).([]net.NetConnectionStat) + r1 := ret.Error(1) + + return r0, r1 +}