diff options
Diffstat (limited to 'services/migrations/restore.go')
-rw-r--r-- | services/migrations/restore.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/migrations/restore.go b/services/migrations/restore.go index 87e5316ef6..357e995423 100644 --- a/services/migrations/restore.go +++ b/services/migrations/restore.go @@ -26,7 +26,7 @@ type RepositoryRestorer struct { } // NewRepositoryRestorer creates a repository restorer which could restore repository from a dumped folder -func NewRepositoryRestorer(ctx context.Context, baseDir string, owner, repoName string) (*RepositoryRestorer, error) { +func NewRepositoryRestorer(ctx context.Context, baseDir, owner, repoName string) (*RepositoryRestorer, error) { baseDir, err := filepath.Abs(baseDir) if err != nil { return nil, err |