forked from hashicorp/terraform
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
provider/openstack: Allow resizing when Flavor Name changes
Previously, resizing would only work if the flavor_id changed and would create an error if the flavor_name changes. This commit fixes this behavior. It also quickly refactors the getFlavorID function to use Gophercloud's IDFromName function. getFlavorID was the basis of IDFromName so the exact same code is used. Fixes hashicorp#5780
- Loading branch information
Showing
1 changed file
with
13 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters