mirror of
				https://github.com/open-metadata/OpenMetadata.git
				synced 2025-10-31 02:29:03 +00:00 
			
		
		
		
	Fix region name (#9811)
This commit is contained in:
		
							parent
							
								
									3dcccb1f14
								
							
						
					
					
						commit
						c6cf9ae764
					
				| @ -213,10 +213,7 @@ class ElasticsearchSink(Sink[Entity]): | |||||||
|         if self.config.use_AWS_credentials: |         if self.config.use_AWS_credentials: | ||||||
|             credentials = boto3.Session().get_credentials() |             credentials = boto3.Session().get_credentials() | ||||||
|             # We are initializing the Session() here and letting it pick up host creds. |             # We are initializing the Session() here and letting it pick up host creds. | ||||||
|             # Not marked as a callable function, but a class. |             region_from_boto3 = boto3.Session().region_name | ||||||
|             region_from_boto3 = ( |  | ||||||
|                 boto3.Session().region_name()  # pylint: disable=not-callable |  | ||||||
|             ) |  | ||||||
|             http_auth = AWS4Auth( |             http_auth = AWS4Auth( | ||||||
|                 region=self.config.region_name |                 region=self.config.region_name | ||||||
|                 if self.config.region_name |                 if self.config.region_name | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Pere Miquel Brull
						Pere Miquel Brull