Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly grab group/rack attributes from model #207

Merged
merged 2 commits into from
Feb 2, 2017
Merged

Conversation

PtrTeixeira
Copy link
Contributor

The way that it was working was that only the name of the upstream being
grabbed; it was not looking up the group/rack attributes in the model at
all when you attempted to remove a single upstream. This change uses
the name of the upstream to lookup the actual upstream object in the
model, then posts that request to the server.

The values that weren't upstream and requestId were the defaults;
they weren't really coming from anywhere, they were just being filled
in.

The way that it was working was that only the name of the upstream being
grabbed; it was not looking up the group/rack attributes in the model at
all when you attempted to remove a single upstream.  This change uses
the name of the upstream to lookup the actual upstream object in the
model, then posts that request to the server.

The values that weren't `upstream` and `requestId` were the defaults;
they weren't really coming from anywhere, they were just being filled
in.
@PtrTeixeira
Copy link
Contributor Author

/cc @ssalinas

@ssalinas
Copy link
Member

👍 thanks for finding the bug in this one

`getByUpstreamName` -> `this.getByUpstreamName`
@ssalinas ssalinas merged commit b8c791f into master Feb 2, 2017
@ssalinas ssalinas deleted the ui-show-rack branch February 2, 2017 15:21
@ssalinas ssalinas removed the staging label Feb 2, 2017
@ssalinas ssalinas modified the milestone: 0.5.0 May 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants