diff --git a/client/allocrunner/networking_bridge_linux.go b/client/allocrunner/networking_bridge_linux.go index f9171cafd39..6deafc72d61 100644 --- a/client/allocrunner/networking_bridge_linux.go +++ b/client/allocrunner/networking_bridge_linux.go @@ -3,7 +3,6 @@ package allocrunner import ( "context" "fmt" - "text/template" "github.com/coreos/go-iptables/iptables" hclog "github.com/hashicorp/go-hclog" @@ -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