mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
Fix ansible-test unicode error with redact option.
This commit is contained in:
committed by
Toshio Kuratomi
parent
f8834c5339
commit
2ef4ba3b4d
@@ -301,7 +301,7 @@ class AnsibleCoreCI(object):
|
|||||||
)
|
)
|
||||||
|
|
||||||
if self.connection.password:
|
if self.connection.password:
|
||||||
display.sensitive.add(self.connection.password)
|
display.sensitive.add(str(self.connection.password))
|
||||||
|
|
||||||
status = 'running' if self.connection.running else 'starting'
|
status = 'running' if self.connection.running else 'starting'
|
||||||
|
|
||||||
@@ -453,7 +453,7 @@ class AnsibleCoreCI(object):
|
|||||||
:type config: dict[str, str]
|
:type config: dict[str, str]
|
||||||
:rtype: bool
|
:rtype: bool
|
||||||
"""
|
"""
|
||||||
self.instance_id = config['instance_id']
|
self.instance_id = str(config['instance_id'])
|
||||||
self.endpoint = config['endpoint']
|
self.endpoint = config['endpoint']
|
||||||
self.started = True
|
self.started = True
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user