Skip to content

Commit 2838ddf

Browse files
Update modules/repository/create.go
Co-authored-by: Yarden Shoham <hrsi88@gmail.com>
1 parent 532ad16 commit 2838ddf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: modules/repository/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ func UpdateRepository(ctx context.Context, repo *repo_model.Repository, visibili
380380

381381
if visibilityChanged {
382382
if err = repo.LoadOwner(ctx); err != nil {
383-
return fmt.Errorf("getOwner: %w", err)
383+
return fmt.Errorf("LoadOwner: %w", err)
384384
}
385385
if repo.Owner.IsOrganization() {
386386
// Organization repository need to recalculate access table when visibility is changed.

0 commit comments

Comments
 (0)