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:
authorJaime Martinez <jmartinez@gitlab.com>2021-08-26 07:48:19 +0300
committerfeistel <6742251-feistel@users.noreply.gitlab.com>2021-08-26 08:03:18 +0300
commitfe508745cff9bf2df9d91719ad9eb4ccd7ab6b8d (patch)
tree22e632b163e42cd4bc464dfd6716e1eb45ed8859
parent468c824b461678a1144d811680f6d4a30dd66130 (diff)
refactor: change source field type to source.Source
-rw-r--r--app.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/app.go b/app.go
index 24177bda..389ce0b4 100644
--- a/app.go
+++ b/app.go
@@ -35,6 +35,7 @@ import (
"gitlab.com/gitlab-org/gitlab-pages/internal/rejectmethods"
"gitlab.com/gitlab-org/gitlab-pages/internal/request"
"gitlab.com/gitlab-org/gitlab-pages/internal/serving/disk/zip"
+ "gitlab.com/gitlab-org/gitlab-pages/internal/source"
"gitlab.com/gitlab-org/gitlab-pages/internal/source/gitlab"
"gitlab.com/gitlab-org/gitlab-pages/metrics"
)
@@ -49,7 +50,7 @@ var (
type theApp struct {
config *cfg.Config
- source *gitlab.Gitlab
+ source source.Source
Artifact *artifact.Artifact
Auth *auth.Auth
Handlers *handlers.Handlers