mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-01 07:47:56 +00:00
Fixes crash when proxy is run with --cleanup-iptables=true.
This commit is contained in:
parent
7f13cc4392
commit
af90318222
@ -159,6 +159,7 @@ func NewProxyServerDefault(config *ProxyServerConfig) (*ProxyServer, error) {
|
|||||||
// We ommit creation of pretty much everything if we run in cleanup mode
|
// We ommit creation of pretty much everything if we run in cleanup mode
|
||||||
if config.CleanupAndExit {
|
if config.CleanupAndExit {
|
||||||
return &ProxyServer{
|
return &ProxyServer{
|
||||||
|
Config: config,
|
||||||
IptInterface: iptInterface,
|
IptInterface: iptInterface,
|
||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user