Skip to content

Commit

Permalink
Fix golangci-lint 'nolintlint'.
Browse files Browse the repository at this point in the history
  • Loading branch information
ewbankkit committed Apr 26, 2023
1 parent 49f9076 commit 5695b79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/service/ecs/wait.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ func waitCapacityProviderUpdated(ctx context.Context, conn *ecs.ECS, arn string)
}

// waitServiceStable waits for an ECS Service to reach the status "ACTIVE" and have all desired tasks running. Does not return tags.
func waitServiceStable(ctx context.Context, conn *ecs.ECS, id, cluster string, timeout time.Duration) (*ecs.Service, error) { //nolint:unparam
func waitServiceStable(ctx context.Context, conn *ecs.ECS, id, cluster string, timeout time.Duration) (*ecs.Service, error) {
input := &ecs.DescribeServicesInput{
Services: aws.StringSlice([]string{id}),
}
Expand Down Expand Up @@ -112,7 +112,7 @@ func waitServiceInactive(ctx context.Context, conn *ecs.ECS, id, cluster string,
}

// waitServiceActive waits for an ECS Service to reach the status "ACTIVE". Does not return tags.
func waitServiceActive(ctx context.Context, conn *ecs.ECS, id, cluster string, timeout time.Duration) (*ecs.Service, error) { //nolint:unparam
func waitServiceActive(ctx context.Context, conn *ecs.ECS, id, cluster string, timeout time.Duration) (*ecs.Service, error) {
stateConf := &retry.StateChangeConf{
Pending: []string{serviceStatusInactive, serviceStatusDraining},
Target: []string{serviceStatusActive},
Expand Down

0 comments on commit 5695b79

Please sign in to comment.