-
Notifications
You must be signed in to change notification settings - Fork 71
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: removing nic after vm creation fails (#68)
* fix: removing nic after vm creation fails * test(fakes): adding network interface api BeginDelete functionality * test: adding tests validating network interface is deleted on provisioning failure * feat: removing all resources on launchInstance() failure, and minor refactor of vmName, nicName to be one resourceName * style: gofmt for cleanupResources function * test: retry policy * feat: deleting nics on CloudProvider.Delete() * test: updating network interface api to return proper not found errors * fix: removing nic per call retry policy * fix: better naming on error tests * style: adding some comments to explain rationale behind deletion ordering --------- Co-authored-by: Rachel Gregory <[email protected]>
- Loading branch information
1 parent
8d9211c
commit f9f9498
Showing
5 changed files
with
105 additions
and
34 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
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
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
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
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