mirror of https://github.com/hashicorp/terraform
The delete + assign at the end of `Update` and `UpdateByID` are meant to handle renaming a workspace — (remove old name), (insert new name). However, `UpdateByID` was doing (remove new name), (insert new name) and leaving the old name in place. This commit changes it to match `Update` by grabbing the original name off the workspace object _before_ potentially renaming it.pull/29826/head
parent
50997d9a32
commit
fabd8eb0b6
Loading…
Reference in new issue