Skip to content

Commit

Permalink
node: fixed the wrong version identification for the service definiti…
Browse files Browse the repository at this point in the history
…on selection

Signed-off-by: AndryNick98 <andrea.nicoletti@stardustsystems.net>
  • Loading branch information
AndryNick98 committed May 20, 2024
1 parent 49ee13a commit fdf2333
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 fdf2333

Please sign in to comment.