Merge branch 'main' into patch-17

pull/32565/head
Kerwin Bryant 3 months ago committed by GitHub
commit 0e1bb407d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 7
      services/context/repo.go

@ -393,14 +393,7 @@ func repoAssignment(ctx *Context, repo *repo_model.Repository) {
}
}
pushMirrors, _, err := repo_model.GetPushMirrorsByRepoID(ctx, repo.ID, db.ListOptions{})
if err != nil {
ctx.ServerError("GetPushMirrorsByRepoID", err)
return
}
ctx.Repo.Repository = repo
ctx.Data["PushMirrors"] = pushMirrors
ctx.Data["RepoName"] = ctx.Repo.Repository.Name
ctx.Data["IsEmptyRepo"] = ctx.Repo.Repository.IsEmpty

Loading…
Cancel
Save