Skip to content

Commit

Permalink
remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
canercidam committed Sep 20, 2023
1 parent e2adb18 commit 75583fb
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions services/components/containers/events_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,29 +22,7 @@ var (
testEventTime = time.Now()
)

// type metricsMatcher struct {
// metrics protocol.AgentMetricList
// }

// func (m *metricsMatcher) Match(x interface{}) bool {
// incoming, ok := x.(protocol.AgentMetricList)
// if !ok {
// return false
// }
// m1 := m.metrics.Metrics[0]
// m2 := incoming.Metrics[0]

// sameBot := m1.AgentId == m2.AgentId
// sameDetails := m2.
// }

// func (m *metricsMatcher) String() string {
// return "metrics"
// }

func TestListenToDockerEvents(t *testing.T) {
//r := require.New(t)

ctrl := gomock.NewController(t)
dockerClient := mock_clients.NewMockDockerClient(ctrl)
msgClient := mock_clients.NewMockMessageClient(ctrl)
Expand Down

0 comments on commit 75583fb

Please sign in to comment.