Skip to content

Commit

Permalink
Merge pull request #61 from Bhavneet-Sharma/release/2.5.0_utils_versi…
Browse files Browse the repository at this point in the history
…on_update

Updating Python-powerflex version in module utils
  • Loading branch information
trisha-dell committed May 30, 2024
2 parents 64d8d8b + 7b5d496 commit 27ecbd2
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 27ecbd2

Please sign in to comment.