Commit Graph

18 Commits (0ee696c9c4fd6f99ae9f5d57cb9287a9bf2765dd)

Author SHA1 Message Date
Daniel Smith 229b8fca2a Don't double-close the channel when etcd returns an error. 2014-07-01 12:49:57 -07:00
Nan Deng 44935c2f94 comment 2014-07-01 11:21:17 -07:00
Nan Deng 7f9d66525a remove lock for broadcast 2014-07-01 11:13:05 -07:00
Nan Deng f68446fed9 comment 2014-06-30 20:51:38 -07:00
Nan Deng 101806cb5e do not recreate 2014-06-30 18:27:41 -07:00
Nan Deng 7b432eac5c gofmt -r "condChannelsReady->condWatchCompleted" 2014-06-30 18:05:01 -07:00
Nan Deng 905c6dcb10 gofmt -r "WaitToWatch->WaitForWatchCompletion" 2014-06-30 16:09:15 -07:00
Nan Deng f13f1a5da6 use sync.Cond 2014-06-30 16:07:46 -07:00
Nan Deng 014165ded6 style 2014-06-30 15:39:03 -07:00
Nan Deng fa1fbe88c1 use wait group 2014-06-30 15:32:55 -07:00
Nan Deng 62055090b4 fix data races in controller 2014-06-30 14:48:57 -07:00
Daniel Smith 999ea50c2a Cleanup to use AtomicUpdate. 2014-06-27 15:14:57 -07:00
Brendan Burns b25f950362 Use etcd compare and swap to update the list of pods, to remove a race. 2014-06-27 11:09:36 -07:00
Tim Hockin 228156dbc6 Remove noisy non-error lines from logs 2014-06-23 17:58:21 -07:00
Daniel Smith b850d36166 Fix boilerplate everywhere 2014-06-23 11:32:11 -07:00
Daniel Smith a253209a2c Add test for watch goroutine handling, fix other review comments 2014-06-18 13:10:39 -07:00
Daniel Smith 7e464aa55c Test controller's synchronize method. Requires fake etcd client to be relocated. 2014-06-18 13:10:39 -07:00
Daniel Smith 65d6280936 Move etcd helper to util so it can be used elsewhere, too 2014-06-18 13:10:39 -07:00