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

Make some data available in server#show directly available #20

Open
tokengeek opened this issue Jun 3, 2015 · 0 comments
Open

Make some data available in server#show directly available #20

tokengeek opened this issue Jun 3, 2015 · 0 comments

Comments

@tokengeek
Copy link
Member

Issue in knife-brightbox rubiojr/knife-brightbox#21

This could be solved by having a cleaning interface on Server that respects
Demeter's law and avoids the chaining.

server.image.name was used but when an image has been later set to
"private", server#image returns nil.

If server#image_name was available based on the data already in the original
API call, a second API call would not be needed.

Need to ensure that these also appear in the collection API so they consistently
work in both cases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant