mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-26 11:51:02 +00:00
persisting repository hostname to database
This commit is contained in:
parent
d84b1ac3e4
commit
289312b678
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ func (h *LoginHandler) GetLogin(w http.ResponseWriter, r *http.Request) error {
|
|||
for _, remoteRepo := range repos {
|
||||
repo, _ := repo.New(remote.GetName(), remoteRepo.Owner, remoteRepo.Name)
|
||||
repo.Private = remoteRepo.Private
|
||||
// TODO set the repo.Host
|
||||
repo.Host = remoteRepo.Host
|
||||
repo.CloneURL = remoteRepo.Clone
|
||||
repo.GitURL = remoteRepo.Git
|
||||
repo.SSHURL = remoteRepo.SSH
|
||||
|
|
Loading…
Reference in a new issue