Skip to content

Commit

Permalink
Update networking_bridge_linux.go (#16025)
Browse files Browse the repository at this point in the history
* Removed line from previous implementation
* remove import

Co-authored-by: Luiz Aoqui <[email protected]>
  • Loading branch information
angrycub and lgfa29 authored Feb 2, 2023
1 parent fe4ff5b commit 3225e5c
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions client/allocrunner/networking_bridge_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package allocrunner
import (
"context"
"fmt"
"text/template"

"github.com/coreos/go-iptables/iptables"
hclog "github.com/hashicorp/go-hclog"
Expand All @@ -29,8 +28,6 @@ const (
cniAdminChainName = "NOMAD-ADMIN"
)

var nomadBridgeTmpl = template.Must(template.New("cniConf").Parse(nomadCNIConfigTemplate))

// bridgeNetworkConfigurator is a NetworkConfigurator which adds the alloc to a
// shared bridge, configures masquerading for egress traffic and port mapping
// for ingress
Expand Down

0 comments on commit 3225e5c

Please sign in to comment.