Skip to content

Commit 808be5c

Browse files
committed
Fix build
1 parent ebde5d2 commit 808be5c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

agent/config/config_windows.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import (
2525

2626
"github.com/aws/amazon-ecs-agent/agent/dockerclient"
2727
"github.com/aws/amazon-ecs-agent/agent/utils"
28-
"github.com/aws/amazon-ecs-agent/ecs-agent/ec2"
2928
"github.com/aws/amazon-ecs-agent/ecs-agent/ipcompatibility"
3029
"github.com/aws/amazon-ecs-agent/ecs-agent/logger"
3130
"github.com/aws/amazon-ecs-agent/ecs-agent/tmds"
@@ -261,7 +260,7 @@ func getConfigFileName() (string, error) {
261260
return fileName, nil
262261
}
263262

264-
func (c *Config) determineIPCompatibility(ec2client ec2.EC2MetadataClient) {
263+
func (c *Config) determineIPCompatibility() {
265264
logger.Info("IPv6-only environments are not supported on Windows. Setting IP compatibility to IPv4-only.")
266265
c.InstanceIPCompatibility = ipcompatibility.NewIPv4OnlyCompatibility()
267-
}
266+
}

0 commit comments

Comments
 (0)