mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-30 20:32:26 -05:00 
			
		
		
		
	[chore]: Bump github.com/minio/minio-go/v7 from 7.0.52 to 7.0.53 (#1808)
Bumps [github.com/minio/minio-go/v7](https://github.com/minio/minio-go) from 7.0.52 to 7.0.53. - [Release notes](https://github.com/minio/minio-go/releases) - [Commits](https://github.com/minio/minio-go/compare/v7.0.52...v7.0.53) --- updated-dependencies: - dependency-name: github.com/minio/minio-go/v7 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
		
					parent
					
						
							
								c48abd8bc0
							
						
					
				
			
			
				commit
				
					
						a0952adc40
					
				
			
		
					 10 changed files with 378 additions and 22 deletions
				
			
		
							
								
								
									
										7
									
								
								vendor/github.com/minio/minio-go/v7/api-bucket-notification.go
									
										
									
										generated
									
									
										vendored
									
									
								
							
							
						
						
									
										7
									
								
								vendor/github.com/minio/minio-go/v7/api-bucket-notification.go
									
										
									
										generated
									
									
										vendored
									
									
								
							|  | @ -166,6 +166,7 @@ func (c *Client) ListenBucketNotification(ctx context.Context, bucketName, prefi | |||
| 
 | ||||
| 		// Prepare urlValues to pass into the request on every loop | ||||
| 		urlValues := make(url.Values) | ||||
| 		urlValues.Set("ping", "10") | ||||
| 		urlValues.Set("prefix", prefix) | ||||
| 		urlValues.Set("suffix", suffix) | ||||
| 		urlValues["events"] = events | ||||
|  | @ -224,6 +225,12 @@ func (c *Client) ListenBucketNotification(ctx context.Context, bucketName, prefi | |||
| 					closeResponse(resp) | ||||
| 					continue | ||||
| 				} | ||||
| 
 | ||||
| 				// Empty events pinged from the server | ||||
| 				if len(notificationInfo.Records) == 0 && notificationInfo.Err == nil { | ||||
| 					continue | ||||
| 				} | ||||
| 
 | ||||
| 				// Send notificationInfo | ||||
| 				select { | ||||
| 				case notificationInfoCh <- notificationInfo: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue