Commit 328afa24 by Bach Dániel

manager: fix ImportError in

parent 5a5f4e29
from vm.models import Node
def get_node(instance):
''' Select a node for an hosting an instance
based on requirements.
# Return first Node or None
from vm.models import Node
return Node.objects.all()[0]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment