Don't create directory structure during json dump. Fixes #2270

This commit is contained in:
ziajka
2017-10-02 10:41:57 +02:00
parent 2a4ed9ba89
commit 3d85bba9d4
10 changed files with 35 additions and 8 deletions

View File

@ -1626,7 +1626,7 @@ class QemuVM(BaseNode):
answer = {
"project_id": self.project.id,
"node_id": self.id,
"node_directory": self.working_dir
"node_directory": self.working_path
}
# Qemu has a long list of options. The JSON schema is the single source of information
for field in QEMU_OBJECT_SCHEMA["required"]: