Skip to content

Commit

Permalink
Modify the inmanage error referenced in modules utils (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
ieisystem authored Dec 7, 2023
1 parent 76e86ae commit b064c02
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions changelogs/fragments/2-edit_module_utils.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
bugfixes:
- Modify the inmanage error referenced in modules utils.
4 changes: 2 additions & 2 deletions plugins/module_utils/ksmanage.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__metaclass__ = type

try:
import ksmanage
import inmanage
ksmanage_temp = True
except ImportError:
ksmanage_temp = False
Expand Down Expand Up @@ -50,5 +50,5 @@ def get_connection(module):
dict_param = module.params
if not ksmanage_temp:
module.fail_json(msg='ksmanage_sdk must be installed to use this module')
result = ksmanage.main(dict_param)
result = inmanage.main(dict_param)
return result

0 comments on commit b064c02

Please sign in to comment.