Fix typos

pull/6/head
Lihua Tang 2018-02-13 16:17:37 +08:00
parent 9438e14d39
commit cad52f6576
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ func computeDetachedSig(content, tokenID, tokenSecret string) (string, error) {
}
opts := &jose.SignerOptions{
// Since this is a symetric key, go-jose doesn't automatically include
// Since this is a symmetric key, go-jose doesn't automatically include
// the KeyID as part of the protected header. We have to pass it here
// explicitly.
ExtraHeaders: map[jose.HeaderKey]interface{}{

View File

@ -45,7 +45,7 @@ const (
// options contains details about which streams are required for
// port forwarding.
// All fields incldued in V4Options need to be expressed explicitly in the
// All fields included in V4Options need to be expressed explicitly in the
// CRI (pkg/kubelet/apis/cri/{version}/api.proto) PortForwardRequest.
type V4Options struct {
Ports []int32

View File

@ -95,7 +95,7 @@ var ipvsModules = []string{
"nf_conntrack_ipv4",
}
// In IPVS proxy mode, the following flags need to be setted
// In IPVS proxy mode, the following flags need to be set
const sysctlRouteLocalnet = "net/ipv4/conf/all/route_localnet"
const sysctlBridgeCallIPTables = "net/bridge/bridge-nf-call-iptables"
const sysctlVSConnTrack = "net/ipv4/vs/conntrack"