mirror of https://github.com/ceph/ceph-ansible.git
ceph_volume: fix rstrip for python 3
Removing bytes literals since rstrip only supports type String or None. Signed-off-by: Bruceforce <markus.greis@gmx.de>pull/3729/head
parent
274bf3e038
commit
2590d3cfba
|
@ -630,8 +630,8 @@ def run_module():
|
||||||
end=str(endd),
|
end=str(endd),
|
||||||
delta=str(delta),
|
delta=str(delta),
|
||||||
rc=rc,
|
rc=rc,
|
||||||
stdout=out.rstrip(b'\r\n'),
|
stdout=out.rstrip('\r\n'),
|
||||||
stderr=err.rstrip(b'\r\n'),
|
stderr=err.rstrip('\r\n'),
|
||||||
changed=changed,
|
changed=changed,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue