Merge pull request #71684 from danielqsj/typo-fix

Fix typos like limitting

Kubernetes-commit: 1a82272782643fdd334f7b0e5391225f8991c7a0
This commit is contained in:
Kubernetes Publisher 2018-12-07 07:58:09 -08:00
commit 117d288bbe
4 changed files with 52 additions and 52 deletions

102
Godeps/Godeps.json generated
View File

@ -404,207 +404,207 @@
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/fuzzer",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip", "ImportPath": "k8s.io/apimachinery/pkg/api/apitesting/roundtrip",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/equality", "ImportPath": "k8s.io/apimachinery/pkg/api/equality",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/errors", "ImportPath": "k8s.io/apimachinery/pkg/api/errors",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/meta", "ImportPath": "k8s.io/apimachinery/pkg/api/meta",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/api/resource", "ImportPath": "k8s.io/apimachinery/pkg/api/resource",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/fuzzer",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/internalversion",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1", "ImportPath": "k8s.io/apimachinery/pkg/apis/meta/v1beta1",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion", "ImportPath": "k8s.io/apimachinery/pkg/conversion",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams", "ImportPath": "k8s.io/apimachinery/pkg/conversion/queryparams",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/fields", "ImportPath": "k8s.io/apimachinery/pkg/fields",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/labels", "ImportPath": "k8s.io/apimachinery/pkg/labels",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime", "ImportPath": "k8s.io/apimachinery/pkg/runtime",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/schema", "ImportPath": "k8s.io/apimachinery/pkg/runtime/schema",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/json",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/protobuf",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/recognizer",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/streaming",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning", "ImportPath": "k8s.io/apimachinery/pkg/runtime/serializer/versioning",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/selection", "ImportPath": "k8s.io/apimachinery/pkg/selection",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/types", "ImportPath": "k8s.io/apimachinery/pkg/types",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/cache", "ImportPath": "k8s.io/apimachinery/pkg/util/cache",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/clock", "ImportPath": "k8s.io/apimachinery/pkg/util/clock",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/diff", "ImportPath": "k8s.io/apimachinery/pkg/util/diff",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/errors", "ImportPath": "k8s.io/apimachinery/pkg/util/errors",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/framer", "ImportPath": "k8s.io/apimachinery/pkg/util/framer",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy", "ImportPath": "k8s.io/apimachinery/pkg/util/httpstream/spdy",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/intstr", "ImportPath": "k8s.io/apimachinery/pkg/util/intstr",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/json", "ImportPath": "k8s.io/apimachinery/pkg/util/json",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch", "ImportPath": "k8s.io/apimachinery/pkg/util/mergepatch",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/naming", "ImportPath": "k8s.io/apimachinery/pkg/util/naming",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/net", "ImportPath": "k8s.io/apimachinery/pkg/util/net",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand", "ImportPath": "k8s.io/apimachinery/pkg/util/remotecommand",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/runtime", "ImportPath": "k8s.io/apimachinery/pkg/util/runtime",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/sets", "ImportPath": "k8s.io/apimachinery/pkg/util/sets",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch", "ImportPath": "k8s.io/apimachinery/pkg/util/strategicpatch",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation", "ImportPath": "k8s.io/apimachinery/pkg/util/validation",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/validation/field", "ImportPath": "k8s.io/apimachinery/pkg/util/validation/field",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/wait", "ImportPath": "k8s.io/apimachinery/pkg/util/wait",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/util/yaml", "ImportPath": "k8s.io/apimachinery/pkg/util/yaml",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/version", "ImportPath": "k8s.io/apimachinery/pkg/version",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/pkg/watch", "ImportPath": "k8s.io/apimachinery/pkg/watch",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/json",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/netutil",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect", "ImportPath": "k8s.io/apimachinery/third_party/forked/golang/reflect",
"Rev": "eb8c8024849baa3681995b2b0bd4da7ea1734ace" "Rev": "f1a02064268befe9cb07b02128ff1b6c24041bec"
}, },
{ {
"ImportPath": "k8s.io/klog", "ImportPath": "k8s.io/klog",

View File

@ -35,7 +35,7 @@ type RateLimiter interface {
} }
// DefaultControllerRateLimiter is a no-arg constructor for a default rate limiter for a workqueue. It has // DefaultControllerRateLimiter is a no-arg constructor for a default rate limiter for a workqueue. It has
// both overall and per-item rate limitting. The overall is a token bucket and the per-item is exponential // both overall and per-item rate limiting. The overall is a token bucket and the per-item is exponential
func DefaultControllerRateLimiter() RateLimiter { func DefaultControllerRateLimiter() RateLimiter {
return NewMaxOfRateLimiter( return NewMaxOfRateLimiter(
NewItemExponentialFailureRateLimiter(5*time.Millisecond, 1000*time.Second), NewItemExponentialFailureRateLimiter(5*time.Millisecond, 1000*time.Second),