diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-07-07 10:03:54 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-07-07 10:03:54 +0300 |
commit | c81339af0bd218ccb956f53d0f7bbabef835a5a4 (patch) | |
tree | 8ea2b81a4987cd442943657ff969473496bacb09 /internal/source/source.go | |
parent | 86afc1dfeeb07fbc140d08ef8cdcfd8cbd4d7bcb (diff) |
Add correlation_id to outbound requests
Diffstat (limited to 'internal/source/source.go')
-rw-r--r-- | internal/source/source.go | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/internal/source/source.go b/internal/source/source.go index 5540066c..cbe949ef 100644 --- a/internal/source/source.go +++ b/internal/source/source.go @@ -1,9 +1,13 @@ package source -import "gitlab.com/gitlab-org/gitlab-pages/internal/domain" +import ( + "context" + + "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, error) + GetDomain(context.Context, string) (*domain.Domain, error) IsReady() bool } |