Skip to content

Commit

Permalink
Remove unused parameter for a function
Browse files Browse the repository at this point in the history
  • Loading branch information
harryzcy committed Apr 26, 2024
1 parent c93eefb commit 6b9d31e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/mirror/mirror_pull.go
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ func SyncPullMirror(ctx context.Context, repoID int64) bool {
return true
}

func checkAndUpdateEmptyRepository(ctx context.Context, m *repo_model.Mirror, gitRepo *git.Repository, results []*mirrorSyncResult) bool {
func checkAndUpdateEmptyRepository(ctx context.Context, m *repo_model.Mirror, results []*mirrorSyncResult) bool {
if !m.Repo.IsEmpty {
return true
}
Expand Down

0 comments on commit 6b9d31e

Please sign in to comment.