Skip to content

Commit

Permalink
remove ECS env check
Browse files Browse the repository at this point in the history
Signed-off-by: Rudraksh Pareek <[email protected]>
  • Loading branch information
DelusionalOptimist committed Oct 12, 2023
1 parent 2b12e8a commit f0e558f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions KubeArmor/common/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit f0e558f

Please sign in to comment.