removed unused variable

This commit is contained in:
Tony Fernandez 2024-10-23 17:34:21 -04:00
parent b5fb0c8247
commit f2d7687ca3

View File

@ -60,7 +60,6 @@ def ping_monitor(hook_config, config, config_filename, state, monitoring_log_lev
return
# Determine the authentication method: API key or username/password
auth = None
if api_key is not None:
logger.info(f'{config_filename}: Using API key auth for Zabbix')
headers['Authorization'] = 'Bearer ' + api_key