Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-24 13:50:38 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2019-11-24 13:50:38 +0300
commit0b986be3d3b4b5ab440eb4888338fb6e91935572 (patch)
tree15dd1c816c8c534b5211258f9284d32f8cd544ea /internal/source/domains_test.go
parentccbe6b5ca4b56d4453567275b9232c58443d151e (diff)
Do not pass mock Mutex by value in domain source test
Diffstat (limited to 'internal/source/domains_test.go')
-rw-r--r--internal/source/domains_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/source/domains_test.go b/internal/source/domains_test.go
index 79fa7081..74ac84c6 100644
--- a/internal/source/domains_test.go
+++ b/internal/source/domains_test.go
@@ -15,7 +15,7 @@ type mockSource struct {
mock.Mock
}
-func (m mockSource) GetDomain(name string) (*domain.Domain, error) {
+func (m *mockSource) GetDomain(name string) (*domain.Domain, error) {
args := m.Called(name)
return args.Get(0).(*domain.Domain), args.Error(1)