Fix import
Fix import objects Node
Change-Id: I8efcad46ea039b54f08f28dbd286c33d9218fa7b
Closes-Bug: #1646475
(cherry picked from commit 05cd9f1609
)
This commit is contained in:
parent
44d98eab2a
commit
13756de707
|
@ -856,7 +856,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
|
||||
|
|
Loading…
Reference in New Issue