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:
Diffstat (limited to 'internal/source/source.go')
-rw-r--r--internal/source/source.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/source/source.go b/internal/source/source.go
index da63cbcc..4b43b8f4 100644
--- a/internal/source/source.go
+++ b/internal/source/source.go
@@ -4,6 +4,5 @@ import "gitlab.com/gitlab-org/gitlab-pages/internal/domain"
// Source represents an abstract interface of a domains configuration source.
type Source interface {
- GetDomain(string) *domain.Domain
- HasDomain(string) bool
+ GetDomain(string) (*domain.Domain, error)
}