@@ -45,7 +45,6 @@ type ECSClient interface {
45
45
46
46
// Service related
47
47
CreateService (serviceName , taskDefName string , loadBalancer * ecs.LoadBalancer , role string , deploymentConfig * ecs.DeploymentConfiguration , networkConfig * ecs.NetworkConfiguration , launchType string , healthCheckGracePeriod * int64 ) error
48
- UpdateServiceCount (serviceName string , count int64 , deploymentConfig * ecs.DeploymentConfiguration , networkConfig * ecs.NetworkConfiguration , healthCheckGracePeriod * int64 , force bool ) error
49
48
UpdateService (serviceName , taskDefinitionName string , count int64 , deploymentConfig * ecs.DeploymentConfiguration , networkConfig * ecs.NetworkConfiguration , healthCheckGracePeriod * int64 , force bool ) error
50
49
DescribeService (serviceName string ) (* ecs.DescribeServicesOutput , error )
51
50
DeleteService (serviceName string ) error
@@ -181,10 +180,6 @@ func (c *ecsClient) CreateService(serviceName, taskDefName string, loadBalancer
181
180
return nil
182
181
}
183
182
184
- func (c * ecsClient ) UpdateServiceCount (serviceName string , count int64 , deploymentConfig * ecs.DeploymentConfiguration , networkConfig * ecs.NetworkConfiguration , healthCheckGracePeriod * int64 , force bool ) error {
185
- return c .UpdateService (serviceName , "" , count , deploymentConfig , networkConfig , healthCheckGracePeriod , force )
186
- }
187
-
188
183
func (c * ecsClient ) UpdateService (serviceName , taskDefinition string , count int64 , deploymentConfig * ecs.DeploymentConfiguration , networkConfig * ecs.NetworkConfiguration , healthCheckGracePeriod * int64 , force bool ) error {
189
184
input := & ecs.UpdateServiceInput {
190
185
DesiredCount : aws .Int64 (count ),
0 commit comments