-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix minor live object leak in await code
This commit will fix an almost-theoretical object leak in the code that awaits resource creation, update, or read. The issue in each case is that the final line of each of these `await` functions calls is a call to `Get`, which will fail if the cluster is unreachable, returning `nil` instead of an object. This causes Pulumi to believe the object was not successfully created. This commit will return an old version of the live object instead. Fixes #364.
- Loading branch information
Showing
1 changed file
with
24 additions
and
6 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