From 9b9bc7dd6d517798e078b9f953b1398dd80c8081 Mon Sep 17 00:00:00 2001 From: Robert Sander Date: Mon, 14 Oct 2024 17:48:13 +0200 Subject: [PATCH] fixes typos --- check_mk_api/lib/python3/checkmkapi.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/check_mk_api/lib/python3/checkmkapi.py b/check_mk_api/lib/python3/checkmkapi.py index 5cc1cbdf..63b85561 100644 --- a/check_mk_api/lib/python3/checkmkapi.py +++ b/check_mk_api/lib/python3/checkmkapi.py @@ -501,7 +501,7 @@ def disc_host(self, hostname, mode="new"): # '----------------------------------------------------------------------' #. - def _wait_for_activation(uri): + def _wait_for_activation(self, uri): code = 302 while code == 302: time.sleep(1) @@ -1630,7 +1630,7 @@ def get_service_status(self, sites=[], query="", columns=[], host_name=""): data["query"] = query if columns: data["columns"] = columns - if hsot_name: + if host_name: data["host_name"] = host_name return self._request( self._get_url,