Automatic style fix

This commit is contained in:
robot-clickhouse 2023-09-09 00:27:39 +00:00
parent 0728df37e6
commit 923d7a0bc3

View File

@ -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")