From 2838ddf030102df36a51472965badf7216a8fe18 Mon Sep 17 00:00:00 2001 From: yp05327 <576951401@qq.com> Date: Sat, 18 Feb 2023 19:18:47 +0900 Subject: [PATCH] Update modules/repository/create.go Co-authored-by: Yarden Shoham --- modules/repository/create.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/repository/create.go b/modules/repository/create.go index 7851ba0db92e8..1704ea792cbf8 100644 --- a/modules/repository/create.go +++ b/modules/repository/create.go @@ -380,7 +380,7 @@ func UpdateRepository(ctx context.Context, repo *repo_model.Repository, visibili if visibilityChanged { if err = repo.LoadOwner(ctx); err != nil { - return fmt.Errorf("getOwner: %w", err) + return fmt.Errorf("LoadOwner: %w", err) } if repo.Owner.IsOrganization() { // Organization repository need to recalculate access table when visibility is changed.