1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Try to fix travis

This commit is contained in:
Kassian Sun 2017-05-25 09:32:24 +08:00 committed by Toshio Kuratomi
parent 981249daa1
commit 42d57782c0

View file

@ -1698,7 +1698,10 @@ class Container(DockerBaseClass):
self.log('_get_expected_sysctls') self.log('_get_expected_sysctls')
if config_sysctls is None: if config_sysctls is None:
return None return None
return {key: str(value) for key, value in config_systctls.items()} result = dict()
for key, value in config_sysctls.items():
result[key] = str(value)
return result
def _get_expected_cmd(self): def _get_expected_cmd(self):
self.log('_get_expected_cmd') self.log('_get_expected_cmd')