diff options
Diffstat (limited to 'ironic/api/controllers/v1/node.py')
-rw-r--r-- | ironic/api/controllers/v1/node.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ironic/api/controllers/v1/node.py b/ironic/api/controllers/v1/node.py index e587ce351..91041d2e0 100644 --- a/ironic/api/controllers/v1/node.py +++ b/ironic/api/controllers/v1/node.py @@ -432,6 +432,9 @@ class Node(base.APIBase): ports = wsme.wsattr([link.Link], readonly=True) "Links to the collection of ports on this node" + # NOTE(deva): "conductor_affinity" shouldn't be presented on the + # API because it's an internal value. Don't add it here. + def __init__(self, **kwargs): self.fields = [] fields = objects.Node.fields.keys() |