Renamed run_sync function to sync and imported it at package level for easier imports.

This commit is contained in:
TheNetworkGuy
2026-02-12 17:22:41 +01:00
parent 2b251b8f68
commit b3f02dc028
3 changed files with 7 additions and 3 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ setup_logger()
logger = get_logger()
def run_sync(nb_host, nb_token, zbx_host, zbx_user, zbx_pass, zbx_token):
def sync(nb_host, nb_token, zbx_host, zbx_user, zbx_pass, zbx_token):
"""
Run the NetBox to Zabbix sync process.
"""