Skip to content

Commit 69433d1

Browse files
committed
rebase
1 parent 1e9b0ab commit 69433d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/engine/docker_task_engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1948,11 +1948,11 @@ func (engine *DockerTaskEngine) createContainer(task *apitask.Task, container *a
19481948
}
19491949
}
19501950

1951-
// This is a short term solution only for specific regions
19521951
if hostConfig.LogConfig.Type == logDriverTypeAwslogs {
19531952
if engine.cfg.InstanceIPCompatibility.IsIPv6Only() {
19541953
engine.setAWSLogsDualStackEndpoint(task, container, hostConfig)
19551954
} else {
1955+
// This is a short term solution only for specific regions
19561956
region := engine.cfg.AWSRegion
19571957
if _, ok := unresolvedIsolatedRegions[region]; ok {
19581958
resolvedEndpoint, err := cloudwatchlogs.NewDefaultEndpointResolverV2().ResolveEndpoint(context.TODO(),

0 commit comments

Comments
 (0)