diff --git a/agent/delegate_mock_test.go b/agent/delegate_mock_test.go index 9f91a6a0d9..7f0593473e 100644 --- a/agent/delegate_mock_test.go +++ b/agent/delegate_mock_test.go @@ -15,6 +15,7 @@ import ( "github.com/hashicorp/consul/agent/consul" "github.com/hashicorp/consul/agent/structs" "github.com/hashicorp/consul/lib" + "github.com/hashicorp/consul/proto-public/pbresource" ) type delegateMock struct { @@ -76,3 +77,7 @@ func (m *delegateMock) Stats() map[string]map[string]string { func (m *delegateMock) ReloadConfig(config consul.ReloadableConfig) error { return m.Called(config).Error(0) } + +func (m *delegateMock) ResourceServiceClient() pbresource.ResourceServiceClient { + return nil +}