get gitlab user (#201)

This commit is contained in:
Andreas Wachter 2024-01-25 07:40:36 +01:00 committed by GitHub
parent d1568d4545
commit acbb331450
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 7 deletions

View file

@ -246,7 +246,7 @@ func backup(repos []types.Repo, conf *types.Conf) {
if err != nil {
if err == git.NoErrAlreadyUpToDate {
log.Info().
Str("stage", "onedev").
Str("stage", "github").
Str("url", r.URL).
Msg(err.Error())
} else {
@ -401,7 +401,7 @@ func backup(repos []types.Repo, conf *types.Conf) {
if err != nil {
if err == git.NoErrAlreadyUpToDate {
log.Info().
Str("stage", "onedev").
Str("stage", "sourcehut").
Str("url", r.URL).
Msg(err.Error())
} else {
@ -428,7 +428,7 @@ func backup(repos []types.Repo, conf *types.Conf) {
if err != nil {
if err == git.NoErrAlreadyUpToDate {
log.Info().
Str("stage", "onedev").
Str("stage", "sourcehut").
Str("url", r.URL).
Msg(err.Error())
} else {