Fix crash when loading a topology without project id

This commit is contained in:
Julien Duponchelle committed 2016-08-31 09:42:58 +02:00
1 parent 7065988087
commit 03e31a2cb9
3 files changed
+39 -1

No files matched your search

@@ -0,0 +1,22 @@
{
"version" : "ANYSTR",
"name" : "Downloads",
"topology" : {
"links" : [],
"drawings" : [],
"nodes" : [],
"computes" : [
{
"protocol" : "http",
"name" : "Local",
"compute_id" : "local",
"port" : 8000,
"host" : "127.0.0.1"
}
]
},
"revision" : 5,
"project_id" : "ANYUUID",
"type" : "topology",
"auto_start" : false
}
@@ -0,0 +1,16 @@
{
"name": "Downloads",
"resources_type": "local",
"topology": {
"servers": [
{
"host": "127.0.0.1",
"id": 1,
"local": true,
"port": 8000
}
]
},
"type": "topology",
"version": "1.0"
}