mirror of https://github.com/k3s-io/k3s
execer is already created earliler, and so there is no need to create it
again.pull/6/head
parent
672e7c3427
commit
7c1ff97e39
|
@ -223,7 +223,6 @@ func NewProxyServerDefault(config *ProxyServerConfig) (*ProxyServer, error) {
|
|||
|
||||
if useIptablesProxy {
|
||||
glog.V(2).Info("Using iptables Proxier.")
|
||||
execer := exec.New()
|
||||
proxierIptables, err := iptables.NewProxier(iptInterface, execer, config.SyncPeriod, config.MasqueradeAll)
|
||||
if err != nil {
|
||||
glog.Fatalf("Unable to create proxier: %v", err)
|
||||
|
|
Loading…
Reference in New Issue