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

[knife-cloud] KNIFE-477: Delete server by name if instance_id isn't found #67

Merged
merged 2 commits into from
Jun 2, 2014

Conversation

ameyavarade
Copy link
Contributor

Use get_server() during server deletion, So we can extend get_server() according to cloud provider.
Ex: knife-openstack service can extend get_server()
@kaustubh-d

@@ -74,7 +74,7 @@ def create_server(options = {})

def delete_server(server_name)
begin
server = connection.servers.get(server_name)
server = get_server(server_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have rspec test please?

kaustubh-d added a commit that referenced this pull request Jun 2, 2014
[knife-cloud] KNIFE-477: Delete server by name if instance_id isn't found
@kaustubh-d kaustubh-d merged commit 8189a23 into master Jun 2, 2014
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.

None yet

2 participants