Skip to content

Commit

Permalink
Updating Python-powerflex version in moudle utils
Browse files Browse the repository at this point in the history
  • Loading branch information
Bhavneet-Sharma committed May 28, 2024
1 parent 64d8d8b commit 7b5d496
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/module_utils/storage/dell/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ def ensure_required_libs(module):
exception=PKG_RSRC_IMP_ERR)

if not HAS_POWERFLEX_SDK:
module.fail_json(msg=missing_required_lib("PyPowerFlex V 1.10.0 or above"),
module.fail_json(msg=missing_required_lib("PyPowerFlex V 1.12.0 or above"),
exception=POWERFLEX_SDK_IMP_ERR)

min_ver = '1.11.0'
min_ver = '1.12.0'
try:
curr_version = pkg_resources.require("PyPowerFlex")[0].version
supported_version = (parse_version(curr_version) >= parse_version(min_ver))
Expand Down

0 comments on commit 7b5d496

Please sign in to comment.