* time.NewTicker will panic if the duration is 0. Make it return early if duration is 0. * Return a pre-closed channel in Wait() instead of nil. Ensures receiver will not block forever. Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com> |
||
|---|---|---|
| .. | ||
| common.go | ||
| pool.go | ||
| stub_client.go | ||
| util.go | ||
| util_test.go | ||
| watcher.go | ||