Cue

REST API Cluster Resource appends nodes fields which is not needed

Bug #1441919 reported by Davide Agnello
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cue
Fix Released
Low
Bathri Ajay Raj

Bug Description

Constructor in Cluster class in cue/api/controllers/v1/clusters.py appends a nodes field. This is not needed or being used since the api does not expose node resources directly.

These two lines need to be removed:
# Adding nodes since it is an api-only attribute.
self.fields.append('nodes')

Changed in cue:
importance: Undecided → Low
Changed in cue:
assignee: nobody → Bathri Ajay Raj (bathri-s)
status: New → Confirmed
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cue (master)

Fix proposed to branch: master
Review: https://review.openstack.org/321500

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cue (master)

Reviewed: https://review.openstack.org/321500
Committed: https://git.openstack.org/cgit/openstack/cue/commit/?id=e2e1372c9b56d1771669d5466ae1c1f24779beab
Submitter: Jenkins
Branch: master

commit e2e1372c9b56d1771669d5466ae1c1f24779beab
Author: bathri.s <email address hidden>
Date: Thu May 26 16:45:09 2016 +0530

    Node resources should not be exposed

    Change-Id: I49a4835c2186c0b439abdfb12d2ca86fea29e235
    Closes-Bug: #1441919

Changed in cue:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.