diff --git a/ecs/pkg/amazon/sdk.go b/ecs/pkg/amazon/sdk.go index 62736d92b..b29751309 100644 --- a/ecs/pkg/amazon/sdk.go +++ b/ecs/pkg/amazon/sdk.go @@ -315,7 +315,6 @@ func (s sdk) GetLogs(ctx context.Context, name string) error { for { var hasMore = true var token *string - token = nil for hasMore { events, err := s.CW.FilterLogEvents(&cloudwatchlogs.FilterLogEventsInput{ LogGroupName: aws.String(logGroup),