mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
[PR #11029/3c42ec73 backport][stable-12] remove extraneous whitespaces (#11035)
remove extraneous whitespaces (#11029)
* remove extraneous whitespaces
* ruff format
* add changelog frag
(cherry picked from commit 3c42ec730d)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -452,7 +452,7 @@ class RHEVConn:
|
||||
else:
|
||||
attempt += 1
|
||||
time.sleep(2)
|
||||
setMsg(f"The disk {diskname} is ready.")
|
||||
setMsg(f"The disk {diskname} is ready.")
|
||||
except Exception as e:
|
||||
setFailed()
|
||||
setMsg(f"Error getting the state of {diskname}.")
|
||||
@@ -488,7 +488,7 @@ class RHEVConn:
|
||||
else:
|
||||
attempt += 1
|
||||
time.sleep(2)
|
||||
setMsg(f"The iface {nicname} is ready.")
|
||||
setMsg(f"The iface {nicname} is ready.")
|
||||
except Exception as e:
|
||||
setFailed()
|
||||
setMsg(f"Error getting the state of {nicname}.")
|
||||
@@ -739,7 +739,7 @@ class RHEVConn:
|
||||
),
|
||||
)
|
||||
except Exception as e:
|
||||
setMsg(f"Failed to create the bond for {iface['name']}")
|
||||
setMsg(f"Failed to create the bond for {iface['name']}")
|
||||
setFailed()
|
||||
setMsg(str(e))
|
||||
return False
|
||||
|
||||
Reference in New Issue
Block a user