diff --git a/kube_hunter/core/events/types.py b/kube_hunter/core/events/types.py index 92a9a67..28acb23 100644 --- a/kube_hunter/core/events/types.py +++ b/kube_hunter/core/events/types.py @@ -148,7 +148,7 @@ class NewHostEvent(Event): ).json() return result["cloud"] or "NoCloud" except requests.ConnectionError: - logger.info(f"Failed to connect cloud type service", exc_info=True) + logger.info("Failed to connect cloud type service", exc_info=True) except Exception: logger.warning(f"Unable to check cloud of {self.host}", exc_info=True) return "NoCloud"