Skip to content
Snippets Groups Projects
Commit b3a447ef authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Forward-port: Small codestyle fixes for dumb-allocator

Reviewed-by: iustinp
parent ef267657
No related branches found
No related tags found
No related merge requests found
......@@ -25,6 +25,7 @@ that fits in both memory and disk space, without any consideration for
equal spread or VCPU oversubscription.
"""
import simplejson
import sys
......@@ -95,12 +96,13 @@ def main():
result_nodes.append(new_selection)
result = {
"success": True,
"info": "Allocation successful",
"nodes": result_nodes,
}
"success": True,
"info": "Allocation successful",
"nodes": result_nodes,
}
print simplejson.dumps(result, indent=2)
return 0
if __name__ == "__main__":
sys.exit(main())
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment