Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
kube-router
Commits
3a0da2bf
Unverified
Commit
3a0da2bf
authored
5 years ago
by
Murali Reddy
Committed by
GitHub
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
fix build break due to commit
05d03e76
(#817)
parent
52e338d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
pkg/controllers/proxy/network_services_controller.go
+2
-2
pkg/controllers/proxy/network_services_controller.go
with
2 additions
and
2 deletions
+2
-2
pkg/controllers/proxy/network_services_controller.go
View file @
3a0da2bf
...
...
@@ -507,7 +507,7 @@ func (nsc *NetworkServicesController) setupIpvsFirewall() error {
}
// config.IpvsPermitAll: true then create INPUT/KUBE-ROUTER-SERVICE Chain creation else return
if
!
config
.
ipvsPermitAll
{
if
!
nsc
.
ipvsPermitAll
{
return
nil
}
...
...
@@ -519,7 +519,7 @@ func (nsc *NetworkServicesController) setupIpvsFirewall() error {
args
=
[]
string
{
"-m"
,
"comment"
,
"--comment"
,
comment
,
"-m"
,
"set"
,
"--match-set"
,
ipvsServicesIPSetName
,
"dst,dst"
,
"-j"
,
"ACCEPT"
}
exists
,
err
:
=
iptablesCmdHandler
.
Exists
(
"filter"
,
ipvsFirewallChainName
,
args
...
)
exists
,
err
=
iptablesCmdHandler
.
Exists
(
"filter"
,
ipvsFirewallChainName
,
args
...
)
if
err
!=
nil
{
return
fmt
.
Errorf
(
"Failed to run iptables command: %s"
,
err
.
Error
())
}
...
...
This diff is collapsed.
Click to expand it.
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