diff --git a/pkg/agent/querier/testing/mock_querier.go b/pkg/agent/querier/testing/mock_querier.go index cdfb313130c..c2f3b71c889 100644 --- a/pkg/agent/querier/testing/mock_querier.go +++ b/pkg/agent/querier/testing/mock_querier.go @@ -32,7 +32,6 @@ import ( memberlist "antrea.io/antrea/pkg/agent/memberlist" openflow "antrea.io/antrea/pkg/agent/openflow" proxy "antrea.io/antrea/pkg/agent/proxy" - "antrea.io/antrea/pkg/agent/types" v1beta1 "antrea.io/antrea/pkg/apis/crd/v1beta1" ovsctl "antrea.io/antrea/pkg/ovs/ovsctl" querier "antrea.io/antrea/pkg/querier" @@ -65,11 +64,11 @@ func (m *MockAgentQuerier) EXPECT() *MockAgentQuerierMockRecorder { return m.recorder } -func (m *MockAgentQuerier) GetFqdnCache() []types.DnsCacheEntry { - ret := m.ctrl.Call(m, "GetFqdnCache") - ret0, _ := ret[0].([]types.DnsCacheEntry) - return ret0 -} +// func (m *MockAgentQuerier) GetFqdnCache() []types.DnsCacheEntry { +// ret := m.ctrl.Call(m, "GetFqdnCache") +// ret0, _ := ret[0].([]types.DnsCacheEntry) +// return ret0 +// } // GetAgentInfo mocks base method. func (m *MockAgentQuerier) GetAgentInfo(agentInfo *v1beta1.AntreaAgentInfo, partial bool) { diff --git a/pkg/querier/testing/mock_querier.go b/pkg/querier/testing/mock_querier.go index e2c8e6fe319..2f3560c8981 100644 --- a/pkg/querier/testing/mock_querier.go +++ b/pkg/querier/testing/mock_querier.go @@ -63,11 +63,11 @@ func (m *MockAgentNetworkPolicyInfoQuerier) EXPECT() *MockAgentNetworkPolicyInfo return m.recorder } -func (m *MockAgentNetworkPolicyInfoQuerier) GetFqdnCache() []types.DnsCacheEntry { - ret := m.ctrl.Call(m, "GetFqdnCache") - ret0, _ := ret[0].([]types.DnsCacheEntry) - return ret0 -} +// func (m *MockAgentNetworkPolicyInfoQuerier) GetFqdnCache() []types.DnsCacheEntry { +// ret := m.ctrl.Call(m, "GetFqdnCache") +// ret0, _ := ret[0].([]types.DnsCacheEntry) +// return ret0 +// } // GetAddressGroupNum mocks base method. func (m *MockAgentNetworkPolicyInfoQuerier) GetAddressGroupNum() int {