Update finder.py

added print for log
This commit is contained in:
Tristan 2024-05-25 18:48:17 -04:00 committed by GitHub
parent 078dfd4219
commit ac8939660a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -103,6 +103,7 @@ def get_worker_id(ssh_client):
match = re.search(r'"user" *: *"[^.]*\.(\w+)"', config_content)
if match:
worker_id = match.group(1)
print(f"Got Worker ID: ", worker_id)
else:
worker_id = "Unknown"
except Exception as e: