Skip to content

Commit

Permalink
Fix linting and sanity checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mu1f407 committed Jan 18, 2025
1 parent c933339 commit 760c209
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions plugins/httpapi/zabbix.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
- name: http_login_password
"""

import inspect
import json
import base64

Expand Down Expand Up @@ -127,7 +126,7 @@ def send_request(self, data, request_method="POST", path="/api_jsonrpc.php"):
headers['Authorization'] = 'Bearer ' + self.auth
else:
data['auth'] = self.auth

http_login_user = self.get_option('http_login_user')
http_login_password = self.get_option('http_login_password')
if http_login_user and http_login_user != '-42':
Expand Down
1 change: 1 addition & 0 deletions plugins/modules/zabbix_host_events_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@
import ansible_collections.community.zabbix.plugins.module_utils.helpers as zabbix_utils
from ansible.module_utils.compat.version import LooseVersion


class Host(ZabbixBase):
def get_host(self, host_identifier, host_inventory, search_key):
""" Get host by hostname|visible_name|hostid """
Expand Down

0 comments on commit 760c209

Please sign in to comment.