Update finder.py
added print for log
This commit is contained in:
parent
078dfd4219
commit
ac8939660a
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ def get_worker_id(ssh_client):
|
||||||
match = re.search(r'"user" *: *"[^.]*\.(\w+)"', config_content)
|
match = re.search(r'"user" *: *"[^.]*\.(\w+)"', config_content)
|
||||||
if match:
|
if match:
|
||||||
worker_id = match.group(1)
|
worker_id = match.group(1)
|
||||||
|
print(f"Got Worker ID: ", worker_id)
|
||||||
else:
|
else:
|
||||||
worker_id = "Unknown"
|
worker_id = "Unknown"
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
Loading…
Reference in a new issue