Fix import
Fix import objects Node Change-Id: I8efcad46ea039b54f08f28dbd286c33d9218fa7b Closes-Bug: #1646475
This commit is contained in:
parent
7d2887adc1
commit
05cd9f1609
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue