We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb3c598 commit cba146cCopy full SHA for cba146c
plugins/module_utils/pfsense.py
@@ -746,6 +746,8 @@ def get_version():
746
@staticmethod
747
def is_ce_version(version=None):
748
""" return True if version is a CE version (for now, we only have 2.x patterns) """
749
+ if type(version) is list:
750
+ return version[0] == 2
751
if version is None:
752
version = PFSenseModule.get_version()
753
return len(version.split('.')[0]) == 1
0 commit comments