Skip to content

Commit

Permalink
remove iterable check
Browse files Browse the repository at this point in the history
  • Loading branch information
furest committed Nov 19, 2024
1 parent 7acf723 commit 951cf8d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions modules/akvorado.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand All @@ -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"],
Expand Down

0 comments on commit 951cf8d

Please sign in to comment.