File tree Expand file tree Collapse file tree 2 files changed +0
-18
lines changed
ecs-cli/modules/cli/compose/project Expand file tree Collapse file tree 2 files changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ import (
20
20
adapter "github.com/aws/amazon-ecs-cli/ecs-cli/modules/cli/compose/adapter"
21
21
context "github.com/aws/amazon-ecs-cli/ecs-cli/modules/cli/compose/context"
22
22
entity "github.com/aws/amazon-ecs-cli/ecs-cli/modules/cli/compose/entity"
23
- config "github.com/docker/libcompose/config"
24
23
project "github.com/docker/libcompose/project"
25
24
gomock "github.com/golang/mock/gomock"
26
25
)
@@ -147,16 +146,6 @@ func (_mr *_MockProjectRecorder) Scale(arg0 interface{}) *gomock.Call {
147
146
return _mr .mock .ctrl .RecordCall (_mr .mock , "Scale" , arg0 )
148
147
}
149
148
150
- func (_m * MockProject ) ServiceConfigs () * config.ServiceConfigs {
151
- ret := _m .ctrl .Call (_m , "ServiceConfigs" )
152
- ret0 , _ := ret [0 ].(* config.ServiceConfigs )
153
- return ret0
154
- }
155
-
156
- func (_mr * _MockProjectRecorder ) ServiceConfigs () * gomock.Call {
157
- return _mr .mock .ctrl .RecordCall (_mr .mock , "ServiceConfigs" )
158
- }
159
-
160
149
func (_m * MockProject ) Start () error {
161
150
ret := _m .ctrl .Call (_m , "Start" )
162
151
ret0 , _ := ret [0 ].(error )
Original file line number Diff line number Diff line change @@ -25,7 +25,6 @@ import (
25
25
26
26
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/commands/flags"
27
27
"github.com/aws/amazon-ecs-cli/ecs-cli/modules/utils/compose"
28
- "github.com/docker/libcompose/config"
29
28
"github.com/docker/libcompose/project"
30
29
)
31
30
@@ -36,7 +35,6 @@ type Project interface {
36
35
Parse () error
37
36
38
37
Context () * context.ECSContext
39
- ServiceConfigs () * config.ServiceConfigs
40
38
ContainerConfigs () []adapter.ContainerConfig // TODO change this to a pointer to slice?
41
39
VolumeConfigs () * adapter.Volumes
42
40
Entity () entity.ProjectEntity
@@ -90,11 +88,6 @@ func (p *ecsProject) Context() *context.ECSContext {
90
88
return p .ecsContext
91
89
}
92
90
93
- // ServiceConfigs returns a map of Service Configuration loaded from compose yaml file
94
- func (p * ecsProject ) ServiceConfigs () * config.ServiceConfigs {
95
- return p .Project .ServiceConfigs
96
- }
97
-
98
91
// VolumeConfigs returns a map of Volume Configuration loaded from compose yaml file
99
92
func (p * ecsProject ) VolumeConfigs () * adapter.Volumes {
100
93
return p .volumes
You can’t perform that action at this time.
0 commit comments