8000 droplet delete name disambiguation · Issue #18 · digitalocean/doctl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

droplet delete name disambiguation #18

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

Closed
thisismitch opened this issue Mar 30, 2016 · 1 comment
Closed

droplet delete name disambiguation #18

thisismitch opened this issue Mar 30, 2016 · 1 comment

Comments

@thisismitch
Copy link

If you have multiple droplets with the same name, e.g. "ubuntu-2gb-nyc3-01", and issue a droplet delete command, doctl deletes the oldest one.

doctl compute droplet delete ubuntu-2gb-nyc3-01

This should be documented, or there should be a disambiguation or confirmation prompt.

@bryanl
Copy link
Contributor
bryanl commented Apr 4, 2016

I'm leaning towards making it fail quick if it detects duplicate names. That way no decision needs to be made.

bryanl added a commit that referenced this issue Apr 4, 2016
When deleting droplets, cycle through the following logic:

* check for ambiguous names. e.g. multiple droplets named ubuntu
* build a list of droplets to delete and execute them all at once
* don't allow deleting the same droplet twice (by name or id)

Fixes #18
bryanl added a commit that referenced this issue Apr 6, 2016
When deleting droplets, cycle through the following logic:

* check for ambiguous names. e.g. multiple droplets named ubuntu
* build a list of droplets to delete and execute them all at once
* don't allow deleting the same droplet twice (by name or id)

Fixes #18
@bryanl bryanl closed this as completed in #36 Apr 6, 2016
andrewsomething pushed a commit to andrewsomething/doctl that referenced this issue Jun 8, 2016
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

2 participants
0