From 1f63e116783e7091335e34ea9e4e0d3b67bdc857 Mon Sep 17 00:00:00 2001 From: Harsh Rawat Date: Fri, 11 Jun 2021 00:50:51 -0700 Subject: [PATCH] Bug fix: Making endpoint name format consistent with vpc-eni plugin --- agent/ecscni/namespace_helper_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agent/ecscni/namespace_helper_windows.go b/agent/ecscni/namespace_helper_windows.go index d98ffc2c7d5..41491e2769f 100644 --- a/agent/ecscni/namespace_helper_windows.go +++ b/agent/ecscni/namespace_helper_windows.go @@ -43,7 +43,7 @@ const ( // ecsBridgeEndpointNameFormat is the name format of the ecs-bridge endpoint in the task namespace. ecsBridgeEndpointNameFormat = "%s-ep-%s" // taskPrimaryEndpointNameFormat is the name format of the primary endpoint in the task namespace. - taskPrimaryEndpointNameFormat = "%s-br-%s-ep-%s" + taskPrimaryEndpointNameFormat = "%sbr%s-ep-%s" // blockIMDSFirewallRuleNameFormat is the format of firewall rule name for blocking IMDS from task namespace. blockIMDSFirewallRuleNameFormat = "Disable IMDS for %s" // ecsBridgeRouteAddCmdFormat is the format of command for adding route entry through ECS Bridge.