The load_ssh_private_key() function not used anywhere is removed.

Šī revīzija ir iekļauta:
pappapisshu
2023-01-30 21:24:57 +01:00
vecāks 35d97fb767
revīzija d1f21d601e
-6
Parādīt failu
@@ -51,12 +51,6 @@ def load_ssh_public_key():
with open(ssh_public_key_file, 'r') as f: with open(ssh_public_key_file, 'r') as f:
return f.read() return f.read()
def load_ssh_private_key():
ssh_private_key_file = os.path.join('/root', '.ssh', 'id_rsa_miab')
if os.path.exists(ssh_private_key_file):
with open(ssh_private_key_file, 'r') as f:
return f.read()
# UTILITIES # UTILITIES
def safe_domain_name(name): def safe_domain_name(name):