Skip to content

Commit

Permalink
changed version checker, so that minimum orion version is part of def…
Browse files Browse the repository at this point in the history
…ault settings #190
  • Loading branch information
jkriwet committed Jul 19, 2023
1 parent 6fbaa50 commit 13ea081
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions filip/clients/ngsi_v2/cb.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,8 +162,8 @@ def get_version(self) -> Dict:

def _check_correct_cb_version(self) -> None:
"""
Checks whether Orion version is >= 3.6.0, since breaking change was introduced there which introduced new
option, which is implemented in FiLiP, but won't work with lower orion versions.
Checks whether the used Orion version is greater or equal than the minimum required orion version of
the current filip version
"""
orion_version = self.get_version()['orion']['version']
if version.parse(orion_version) < version.parse(settings.minimum_orion_version):
Expand Down

0 comments on commit 13ea081

Please sign in to comment.