From 83a13b4ab3d9d5db4db5b860f264864c47e48022 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Mon, 15 Mar 2021 14:00:24 +0100 Subject: [PATCH] nat: remove unused portSpecTemplate const (deadcode) Signed-off-by: Sebastiaan van Stijn --- nat/nat.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/nat/nat.go b/nat/nat.go index 0f17a5ec..7e4470e7 100644 --- a/nat/nat.go +++ b/nat/nat.go @@ -8,11 +8,6 @@ import ( "strings" ) -const ( - // portSpecTemplate is the expected format for port specifications - portSpecTemplate = "ip:hostPort:containerPort" -) - // PortBinding represents a binding between a Host IP address and a Host Port type PortBinding struct { // HostIP is the host IP Address