vendor updates

This commit is contained in:
Serguei Bezverkhi
2018-03-06 17:33:18 -05:00
parent 4b3ebc171b
commit e9033989a0
5854 changed files with 248382 additions and 119809 deletions

View File

@ -25,8 +25,7 @@ go_test(
"bounded_frequency_runner_test.go",
"runner_test.go",
],
importpath = "k8s.io/kubernetes/pkg/util/async",
library = ":go_default_library",
embed = [":go_default_library"],
)
filegroup(

View File

@ -109,7 +109,7 @@ var _ timer = realTimer{}
// multiple runs are serialized. If the function needs to hold locks, it must
// take them internally.
//
// Runs of the funtion will have at least minInterval between them (from
// Runs of the function will have at least minInterval between them (from
// completion to next start), except that up to bursts may be allowed. Burst
// runs are "accumulated" over time, one per minInterval up to burstRuns total.
// This can be used, for example, to mitigate the impact of expensive operations

View File

@ -61,6 +61,7 @@ type fakeTimer struct {
func newFakeTimer() *fakeTimer {
ft := &fakeTimer{
now: time.Date(2000, 0, 0, 0, 0, 0, 0, time.UTC),
c: make(chan time.Time),
updated: make(chan timerUpdate),
}