diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-08-26 07:48:19 +0300 |
---|---|---|
committer | feistel <6742251-feistel@users.noreply.gitlab.com> | 2021-08-26 08:03:18 +0300 |
commit | fe508745cff9bf2df9d91719ad9eb4ccd7ab6b8d (patch) | |
tree | 22e632b163e42cd4bc464dfd6716e1eb45ed8859 | |
parent | 468c824b461678a1144d811680f6d4a30dd66130 (diff) |
refactor: change source field type to source.Source
-rw-r--r-- | app.go | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |