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>2020-11-30 03:09:30 +0300
committerJaime Martinez <jmartinez@gitlab.com>2020-11-30 03:13:03 +0300
commit9c51d46d39c1a2614aafca02bf1f3376a88e0280 (patch)
treeb4148f0c236f878c38ffcd7fda5d91696c93ca27 /internal/vfs/local
parentaeff2242f8b8fe51bb02539bf73b90bb6cf2ed1b (diff)
Add Reconfigure to serving and VFS interfaces
Diffstat (limited to 'internal/vfs/local')
-rw-r--r--internal/vfs/local/vfs.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/vfs/local/vfs.go b/internal/vfs/local/vfs.go
index bdcd5160..ea54e8e8 100644
--- a/internal/vfs/local/vfs.go
+++ b/internal/vfs/local/vfs.go
@@ -6,6 +6,7 @@ import (
"os"
"path/filepath"
+ "gitlab.com/gitlab-org/gitlab-pages/internal/config"
"gitlab.com/gitlab-org/gitlab-pages/internal/vfs"
)
@@ -43,3 +44,8 @@ func (fs VFS) Root(ctx context.Context, path string) (vfs.Root, error) {
func (fs *VFS) Name() string {
return "local"
}
+
+func (fs *VFS) Reconfigure(*config.Config) error {
+ // noop
+ return nil
+}