-
Notifications
You must be signed in to change notification settings - Fork 9.6k
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
provider/openstack: add state 'downloading' to resource 'blockstorage_volume_v1' #2866
Conversation
@jtopjian Updated the commit message. I am not familiar with Go and I do not know how to write good tests for the test suite. Can you take care of it in a second PR? At least post some some URLs where I can get more details about how to write tests for Go. |
@berendt No worries. In general, the I've just submitted a PR to your fork that includes a test. 😄 |
@jtopjian Thanks. I will have a look and next time I can provide my own test. |
@berendt It's really no problem. Terraform doesn't require tests for fixes and such. With this particular patch, I wanted to see a test since it's a core feature of the provider, so I had no issues at all writing it myself :) |
…_volume_v1' When using an image as the source of new volume the state 'downloading' prior to the state 'available' is fine. It is also fine to destroy a volume in the state 'downloading'. Closes-bug: #2865 Co-Authored-By: Joe Topjian <joe@topjian.net>
@jtopjian Merged your PR and rebased it. This PR should be fine now. |
LGTM - thanks everybody! |
provider/openstack: add state 'downloading' to resource 'blockstorage_volume_v1'
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
When using an image as the source of new volume the state 'downloading'
prior to the state 'available' is fine.
It is also fine to destroy a volume in the state 'downloading'.
Closes-bug: #2865