diff --git a/api/http/handler/edgestacks/edgestack_create.go b/api/http/handler/edgestacks/edgestack_create.go index c2f9414ff..13a498033 100644 --- a/api/http/handler/edgestacks/edgestack_create.go +++ b/api/http/handler/edgestacks/edgestack_create.go @@ -240,8 +240,9 @@ func (handler *Handler) createSwarmStackFromGitRepository(r *http.Request, dryru } repoConfig := gittypes.RepoConfig{ - URL: payload.RepositoryURL, - ReferenceName: payload.RepositoryReferenceName, + URL: payload.RepositoryURL, + ReferenceName: payload.RepositoryReferenceName, + ConfigFilePath: payload.FilePathInRepository, } if payload.RepositoryAuthentication {