From 951cf8d61bbd28c4a37c372d71d5c5da70ae3998 Mon Sep 17 00:00:00 2001 From: furest Date: Tue, 19 Nov 2024 23:27:53 +0100 Subject: [PATCH] remove iterable check --- modules/akvorado.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/modules/akvorado.py b/modules/akvorado.py index bde0561f..2e664c0a 100644 --- a/modules/akvorado.py +++ b/modules/akvorado.py @@ -50,8 +50,6 @@ def get_snmpv2_providers(): secrets = lib.read_secret(key) if not secrets: return - if not isinstance(secrets, Iterable): - return if "community" in secrets: provider = { "ipv4": client["ipv4_addr"], @@ -71,8 +69,6 @@ def get_snmpv3_providers(): secrets = lib.read_secret(key) if not secrets: return - if not isinstance(secrets, Iterable): - return if "user" in secrets: provider = { "ipv4": client["ipv4_addr"],