mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 19:38:23 +00:00 
			
		
		
		
	Fix typo in PR migration check (#7368)
This commit is contained in:
		
				
					committed by
					
						 techknowlogick
						techknowlogick
					
				
			
			
				
	
			
			
			
						parent
						
							89aa08d372
						
					
				
				
					commit
					7166629d9c
				
			| @@ -205,7 +205,7 @@ func migrateRepository(downloader base.Downloader, uploader base.Uploader, opts | |||||||
|  |  | ||||||
| 	if opts.PullRequests { | 	if opts.PullRequests { | ||||||
| 		log.Trace("migrating pull requests and comments") | 		log.Trace("migrating pull requests and comments") | ||||||
| 		var prBatchSize = models.MaxBatchInsertSize("pullrequest") | 		var prBatchSize = uploader.MaxBatchInsertSize("pullrequest") | ||||||
| 		for i := 1; ; i++ { | 		for i := 1; ; i++ { | ||||||
| 			prs, err := downloader.GetPullRequests(i, prBatchSize) | 			prs, err := downloader.GetPullRequests(i, prBatchSize) | ||||||
| 			if err != nil { | 			if err != nil { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user