Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
ba64ae18
Commit
ba64ae18
authored
Jan 07, 2019
by
yanghaichao12
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typos in kube-proxy
parent
8b3b5a9f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
netlink_linux.go
pkg/proxy/ipvs/netlink_linux.go
+1
-1
proxier.go
pkg/proxy/ipvs/proxier.go
+1
-1
port.go
pkg/proxy/util/port.go
+1
-1
No files found.
pkg/proxy/ipvs/netlink_linux.go
View file @
ba64ae18
...
...
@@ -33,7 +33,7 @@ type netlinkHandle struct {
isIPv6
bool
}
// NewNetLinkHandle will crate a new NetLinkHandle
// NewNetLinkHandle will cr
e
ate a new NetLinkHandle
func
NewNetLinkHandle
(
isIPv6
bool
)
NetLinkHandle
{
return
&
netlinkHandle
{
netlink
.
Handle
{},
isIPv6
}
}
...
...
pkg/proxy/ipvs/proxier.go
View file @
ba64ae18
...
...
@@ -669,7 +669,7 @@ func (proxier *Proxier) OnServiceDelete(service *v1.Service) {
proxier
.
OnServiceUpdate
(
service
,
nil
)
}
// OnServiceSynced is called once all the initial even handlers were called and the state is fully propagated to local cache.
// OnServiceSynced is called once all the initial even
t
handlers were called and the state is fully propagated to local cache.
func
(
proxier
*
Proxier
)
OnServiceSynced
()
{
proxier
.
mu
.
Lock
()
proxier
.
servicesSynced
=
true
...
...
pkg/proxy/util/port.go
View file @
ba64ae18
...
...
@@ -43,7 +43,7 @@ func (lp *LocalPort) String() string {
return
fmt
.
Sprintf
(
"%q (%s/%s)"
,
lp
.
Description
,
ipPort
,
lp
.
Protocol
)
}
// Closeable is an interface around closing a
n
port.
// Closeable is an interface around closing a port.
type
Closeable
interface
{
Close
()
error
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment