Skip to content

Commit

Permalink
Merge pull request #942 from netenglabs/fix-version-selection
Browse files Browse the repository at this point in the history
Wrong selection of service definition for version
  • Loading branch information
ddutt authored May 21, 2024
2 parents dbbf68e + fdf2333 commit 76218cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions suzieq/poller/worker/nodes/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -1072,8 +1072,8 @@ async def _exec_service(self, service_callback, svc_defn: dict,
for item in use:
if item.get('version', '') != "all":
os_version = item['version']
opdict = {'>': operator.gt, '<': operator.lt,
'>=': operator.ge, '<=': operator.le,
opdict = {'>=': operator.ge, '<=': operator.le,
'>': operator.gt, '<': operator.lt,
'=': operator.eq, '!=': operator.ne}
op = operator.eq

Expand Down

0 comments on commit 76218cc

Please sign in to comment.