Skip to content

Commit

Permalink
Fixed bad copy pasta of my own code
Browse files Browse the repository at this point in the history
  • Loading branch information
PettitWesley committed Aug 22, 2018
1 parent a872cfe commit 6ba5a56
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions ecs-cli/modules/utils/compose/convert_task_definition.go
Original file line number Diff line number Diff line change
Expand Up @@ -308,16 +308,6 @@ func convertToECSVolumes(hostPaths *adapter.Volumes, ecsParams *ECSParams) ([]*e
output = append(output, ecsVolume)
}

// process docker volumes
dockerVolumes := make(map[string]DockerVolume)
if ecsParams != nil {
for _, dockerVol := range ecsParams.TaskDefinition.DockerVolumes {
if dockerVol.Name != "" {
dockerVolumes[dockerVol.Name] = dockerVol
}
}
}

// volumes without host path (allowed to have Docker Volume Configuration)
volumesWithoutHost, err := mergeVolumesWithoutHost(hostPaths.VolumeEmptyHost, ecsParams)
if err != nil {
Expand Down

0 comments on commit 6ba5a56

Please sign in to comment.