forked from p15670423/monkey
BB: Use put_json() to import config
This commit is contained in:
parent
4cb6bdd9cf
commit
ea369a5a74
|
@ -40,7 +40,7 @@ class MonkeyIslandClient(object):
|
|||
|
||||
@avoid_race_condition
|
||||
def _import_config(self, test_configuration: TestConfiguration):
|
||||
response = self.requests.post_json(
|
||||
response = self.requests.put_json(
|
||||
"api/agent-configuration",
|
||||
json=AgentConfiguration.to_mapping(test_configuration.agent_configuration),
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue