forked from p15670423/monkey
BB: Add `simplify=True` when converting test agent configuration to dict in MonkeyIslandClient
This commit is contained in:
parent
637023c568
commit
1abf2b7f03
|
@ -50,7 +50,7 @@ class MonkeyIslandClient(object):
|
|||
def _import_config(self, test_configuration: TestConfiguration):
|
||||
response = self.requests.put_json(
|
||||
"api/agent-configuration",
|
||||
json=test_configuration.agent_configuration.dict(),
|
||||
json=test_configuration.agent_configuration.dict(simplify=True),
|
||||
)
|
||||
if response.ok:
|
||||
LOGGER.info("Configuration is imported.")
|
||||
|
|
Loading…
Reference in New Issue