mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-26 04:11:25 -07:00
Fixes pylint errors (#23279)
Reported by gundalow, this fixes pylint errors in F5 modules
This commit is contained in:
parent
b3a15e9ac3
commit
780b2f2c84
3 changed files with 9 additions and 13 deletions
|
@ -320,7 +320,7 @@ class BigIpGtmDatacenter(object):
|
|||
enabled = self.params['enabled']
|
||||
|
||||
if state is None and enabled is None:
|
||||
module.fail_json(msg="Neither 'state' nor 'enabled' set")
|
||||
raise F5ModuleError("Neither 'state' nor 'enabled' set")
|
||||
|
||||
try:
|
||||
if state == "present":
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue