Skip to content

Commit

Permalink
Update netbox_api.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chatasos authored Oct 3, 2024
1 parent 1e1524e commit 5a198a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netbox_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ def verify_compatibility(self):
if version_split[0] > 3 or (version_split[0] == 3 and version_split[1] >= 2):
self.modules = True

# check if version >= 4.1 in order to use new filter names
# check if version >= 4.1 in order to use new filter names (https://github.com/netbox-community/netbox/issues/15410)
if version_split[0] >= 4 and version_split[1] >= 1:
self.new_filters = True
self.handle.log(f'Netbox version {self.netbox.version} found. Using new filters.')
Expand Down

0 comments on commit 5a198a4

Please sign in to comment.