Update workspace path
Change-Id: Idf4c2a78b2e1cab9af56a763f20728e337245e45
diff --git a/server/git/git.go b/server/git/git.go
index 1160d0d..4cd7508 100644
--- a/server/git/git.go
+++ b/server/git/git.go
@@ -233,8 +233,7 @@
panic("no valid Git provider configured")
}
- workspacePath := filepath.Join(".", "workspace") //TODO: make it configurable
- cloneManager := NewCloneManager(repoURL, workspacePath)
+ cloneManager := NewCloneManager(repoURL, cfg.Git.WorkspacePath)
return &Git{
repoPath: cfg.Git.RepoPath,