mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-11-01 18:58:18 +00:00
execer is already created earliler, and so there is no need to create it
again.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user