mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-10 01:25:21 +00:00
Automatic style fix
This commit is contained in:
parent
0728df37e6
commit
923d7a0bc3
@ -183,10 +183,12 @@ def _query_imds(path):
|
||||
continue
|
||||
return ""
|
||||
|
||||
|
||||
# Obtain the machine type from IMDS:
|
||||
def get_instance_type():
|
||||
return _query_imds("latest/meta-data/instance-type")
|
||||
|
||||
|
||||
# Obtain the instance id from IMDS:
|
||||
def get_instance_id():
|
||||
return _query_imds("latest/meta-data/instance-id")
|
||||
|
Loading…
Reference in New Issue
Block a user