mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-02 03:29:03 +00:00
Support Azure Datalake Test Connection fixes (#12579)
* Support Azure Datalake Test Connection fixes * Rename function name and remove unwanted argument --------- Co-authored-by: Vanshika Kabra <vanshikakabra@Vanshikas-MacBook-Pro.local>
This commit is contained in:
parent
3111f91a06
commit
02ec8b0161
@ -135,7 +135,12 @@ def test_connection(
|
||||
func = connection.client.list_buckets
|
||||
|
||||
if isinstance(config, AzureConfig):
|
||||
func = partial(connection.client.list_containers, name_starts_with="")
|
||||
|
||||
def list_connection(connection):
|
||||
conn = connection.client.list_containers(name_starts_with="")
|
||||
list(conn)
|
||||
|
||||
func = partial(list_connection, connection)
|
||||
|
||||
test_fn = {
|
||||
"ListBuckets": func,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user