mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-09-20 10:32:19 +00:00
Sync logging should use repo.Owner not user.Login
This commit is contained in:
@@ -43,7 +43,7 @@ func SyncUser(ctx context.Context, user *model.User, remote remote.Remote) {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
log.Println("Successfully syced repo.", user.Login+"/"+repo.Name)
|
log.Printf("Successfully syced repo. %s/%s\n", repo.Owner, repo.Name)
|
||||||
}
|
}
|
||||||
|
|
||||||
user.Synced = time.Now().UTC().Unix()
|
user.Synced = time.Now().UTC().Unix()
|
||||||
|
Reference in New Issue
Block a user