fix(edgestacks): fix repository edge stack creation EE-4732 (#8160)

pull/8169/head
matias-portainer 2022-12-06 10:26:18 -03:00 committed by GitHub
parent 4558ce84cf
commit 8dcc5e4adb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -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 {