execer is already created earliler, and so there is no need to create it

again.
pull/6/head
Avesh Agarwal 2015-09-28 09:56:57 -04:00
parent 672e7c3427
commit 7c1ff97e39
1 changed files with 0 additions and 1 deletions

View File

@ -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)