Fix import

Fix import objects Node

Change-Id: I8efcad46ea039b54f08f28dbd286c33d9218fa7b
Closes-Bug: #1646475
This commit is contained in:
Mikhail 2016-12-02 11:43:27 +03:00
parent 7d2887adc1
commit 05cd9f1609
1 changed files with 1 additions and 1 deletions

View File

@ -884,7 +884,7 @@ class Cluster(NailgunObject):
:param nodes: list of Node db objects
:param tag: string with known tag name
"""
from objects import Node
from nailgun.objects import Node
node = cls.get_primary_node(instance, tag)
if not node:
# get nodes with a given role name which are not going to be