-
Notifications
You must be signed in to change notification settings - Fork 69
[Update] DELETE /linode/instances/{linodeId}/disks/{diskId} #106
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
Conversation
…ode with a currently running config profile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is fine as is; included a potential improvement
@@ -4359,7 +4359,8 @@ paths: | |||
- Linode Instances | |||
summary: Delete Disk | |||
description: | | |||
Deletes a Disk you have permission to `read_write`. | |||
Deletes a Disk you have permission to `read_write`. The Disk cannot be | |||
deleted if it is attached to a Linode's running configuration profile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might be clearer as
The Disk cannot be deleted if it is attached to a running Linode. You can view a Linode's Disks by examining its configuration profile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On second thought, hold off on the above for a bit; clearing something up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
after digging into this a bit more, it seems that
- the appraisal made in the original ticket is incorrect; APIv4 allows you to delete a disk regardless of the state of the disk's linode.
- the behavior described in (1) is broken; attempting to delete a running linode's disk succeeds in the API, but fails on the backend. We need to fix this.
I recommend closing this PR.
@michaelsaah Okay, thanks for digging into this a bit more. Will close for now and standby for any upcoming changes. |
Release 1.0.11
…-v-0-76-0 Create Changelogs “cloud-manager-changelog-v-0-76-0”
added a note that a disk can only be deleted if not attached to a linode with a currently running config profile