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

attribute on server no_deploy #84

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jacobo
Copy link
Contributor

@jacobo jacobo commented Feb 10, 2017

No description provided.

@dvalfre
Copy link
Contributor

dvalfre commented Feb 11, 2017

The attribute shows fine. Now, when trying to change it, and after adding no_deploy to the list on https://github.com/engineyard/core-client-rb/blob/core_api_server_no_deploy/lib/ey-core/models/server.rb#L127, I'm getting:

ey-core:> i.no_deploy
=> true
ey-core:> i.no_deploy=false
=> false
ey-core:> ey-core:> i.save!
Ey::Core::Response::Error: {:status=>403, 
[....]
:body=>{"errors"=>["not allowed to update? this #<Instance @created_at=Sat, 11 Feb 2017 00:32:53 +0000 @updated_at=Sat, 11 Feb 2017 00:53:34 +0000 @amazon_id=\"i-0d9f68e9a550246c8\" 
from /Users/dvalfre/work/EngineYard/src/CoreAPI/core-client-rb/lib/ey-core/response.rb:55:in `raise!'
ey-core:>

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

Successfully merging this pull request may close these issues.

2 participants