Fix typos

This commit is contained in:
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{ 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 // the KeyID as part of the protected header. We have to pass it here
// explicitly. // explicitly.
ExtraHeaders: map[jose.HeaderKey]interface{}{ ExtraHeaders: map[jose.HeaderKey]interface{}{

View File

@ -45,7 +45,7 @@ const (
// options contains details about which streams are required for // options contains details about which streams are required for
// port forwarding. // 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. // CRI (pkg/kubelet/apis/cri/{version}/api.proto) PortForwardRequest.
type V4Options struct { type V4Options struct {
Ports []int32 Ports []int32

View File

@ -95,7 +95,7 @@ var ipvsModules = []string{
"nf_conntrack_ipv4", "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 sysctlRouteLocalnet = "net/ipv4/conf/all/route_localnet"
const sysctlBridgeCallIPTables = "net/bridge/bridge-nf-call-iptables" const sysctlBridgeCallIPTables = "net/bridge/bridge-nf-call-iptables"
const sysctlVSConnTrack = "net/ipv4/vs/conntrack" const sysctlVSConnTrack = "net/ipv4/vs/conntrack"