From 0492dacfee9f2c47efd984707fa7c68da2afee9c Mon Sep 17 00:00:00 2001 From: aiordache Date: Wed, 13 May 2020 12:28:23 +0200 Subject: [PATCH] remove redundant var init Signed-off-by: aiordache Signed-off-by: Nicolas De Loof --- ecs/pkg/amazon/sdk.go | 1 - 1 file changed, 1 deletion(-) 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),