pulumi/pkg
Alex Clemmer 628abb5636 Fix bug causing pulumi query to hang forever
`engine.Query` queues up a bunch of `defer` functions that (among other
things) wait for various resources to clean themselves up.

In `query`, we have a "naive" (read: bad) `eventEmitter`, whose `done`
channel is set to `nil`. Therefore, the relevent `defer` waits for an
event on a `nil` channel which in Go will famously simply hang forever.

This commit will correct this by setting this channel appropriately, so
that it signals appropriately when it's done.
2019-10-23 15:14:56 -07:00
..
apitype Print PolicyPacks run as part of update summary 2019-09-30 14:49:21 -07:00
backend Don't require a stack to run pulumi query 2019-10-23 15:14:56 -07:00
codegen/python Creation of generator package (#2970) 2019-07-22 17:09:35 -07:00
diag Fix two colorization issues. (#3385) 2019-10-21 16:05:45 -07:00
encoding Add license headers 2018-05-22 15:02:47 -07:00
engine Fix bug causing pulumi query to hang forever 2019-10-23 15:14:56 -07:00
graph Add license headers 2018-05-22 15:02:47 -07:00
npm fix: node_modules typo (#3175) 2019-09-09 23:11:35 +03:00
operations Collect logs from Google Cloud Functions 2019-04-08 09:44:05 -07:00
resource Allow provider loading in query mode 2019-10-23 15:14:56 -07:00
secrets Cache account information. (#3340) 2019-10-15 15:37:57 -07:00
testing Override all options in ProgramTest.With (#3264) 2019-10-07 14:11:36 +03:00
tokens Fix comment about QName regex (#3121) 2019-08-20 14:43:48 -07:00
tools Add a WriteString method to tools/GenWriter. (#1839) 2018-08-29 14:43:20 -07:00
util Add codefresh CI detection. Thanks to @fernandocarletti. (#3270) 2019-09-25 14:41:13 -07:00
version Add license headers 2018-05-22 15:02:47 -07:00
workspace Cache account information. (#3340) 2019-10-15 15:37:57 -07:00