Skip to content

Commit

Permalink
fix(SnmpGetSource): build arg version check in int (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ravio1i authored Nov 25, 2024
1 parent b61e5a5 commit 9633170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pollect/sources/SnmpGetSource.py
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ def _get_values(self, oids: List[str]) -> Dict[str, SnmpValue]:
return values

def _build_args(self) -> List[str]:
if self.snmp_version == '3':
if self.snmp_version == 3:
return [
'snmpget',
'-v', self.snmp_version,
Expand Down

0 comments on commit 9633170

Please sign in to comment.