fix all the typos across the project

Kubernetes-commit: 48388fec7eaad4ac8d84fbe20673ffacf41964a1
This commit is contained in:
Di Xu 2018-02-09 14:53:53 +08:00 committed by Kubernetes Publisher
parent ebeb23c0ad
commit 9beeb59216
3 changed files with 4 additions and 4 deletions

View File

@ -20,7 +20,7 @@ limitations under the License.
// subauthorizer returns a NoOpinion, then the union authorizer moves onto the // subauthorizer returns a NoOpinion, then the union authorizer moves onto the
// next authorizer or, if the subauthorizer was the last authorizer, returns // next authorizer or, if the subauthorizer was the last authorizer, returns
// NoOpinion as the aggregate decision. I.e. union authorizer creates an // NoOpinion as the aggregate decision. I.e. union authorizer creates an
// aggregate decision and supports short-circut allows and denies from // aggregate decision and supports short-circuit allows and denies from
// subauthorizers. // subauthorizers.
package union package union

View File

@ -86,7 +86,7 @@ var (
}, },
[]string{"requestKind"}, []string{"requestKind"},
) )
// Becasue of volatality of the base metric this is pre-aggregated one. Instead of reporing current usage all the time // Because of volatality of the base metric this is pre-aggregated one. Instead of reporing current usage all the time
// it reports maximal usage during the last second. // it reports maximal usage during the last second.
currentInflightRequests = prometheus.NewGaugeVec( currentInflightRequests = prometheus.NewGaugeVec(
prometheus.GaugeOpts{ prometheus.GaugeOpts{

View File

@ -33,10 +33,10 @@ import (
) )
const ( const (
// Now only supportied unix domain socket. // Now only supported unix domain socket.
unixProtocol = "unix" unixProtocol = "unix"
// Current version for the protocal interface definition. // Current version for the protocol interface definition.
kmsapiVersion = "v1beta1" kmsapiVersion = "v1beta1"
// The timeout that communicate with KMS server. // The timeout that communicate with KMS server.