fix(stack-creation): use numeric value for stack root folder name (#2000)

This commit is contained in:
Anthony Lapenna
2018-06-25 14:48:28 +03:00
committed by GitHub
parent f3925cb3ae
commit dbcc6a9624
2 changed files with 2 additions and 2 deletions

View File

@@ -137,7 +137,7 @@ func (handler *Handler) createComposeStackFromGitRepository(w http.ResponseWrite
EntryPoint: payload.ComposeFilePathInRepository,
}
projectPath := handler.FileService.GetStackProjectPath(string(stack.ID))
projectPath := handler.FileService.GetStackProjectPath(strconv.Itoa(int(stack.ID)))
stack.ProjectPath = projectPath
gitCloneParams := &cloneRepositoryParameters{