diff --git a/KubeArmor/common/common.go b/KubeArmor/common/common.go index 0aa655b4ab..5867f3b578 100644 --- a/KubeArmor/common/common.go +++ b/KubeArmor/common/common.go @@ -379,12 +379,6 @@ func IsK8sEnv() bool { return false } -// IsECSEnv Function -func IsECSEnv() bool { - _, ok := os.LookupEnv("ECS_CONTAINER_METADATA_URI_V4") - return ok -} - // ContainerRuntimeSocketMap Structure var ContainerRuntimeSocketMap = map[string][]string{ "docker": {