mirror of https://github.com/docker/compose.git
remove redundant var init
Signed-off-by: aiordache <anca.iordache@docker.com> Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
This commit is contained in:
parent
9dbff1eb72
commit
0492dacfee
|
@ -315,7 +315,6 @@ func (s sdk) GetLogs(ctx context.Context, name string) error {
|
||||||
for {
|
for {
|
||||||
var hasMore = true
|
var hasMore = true
|
||||||
var token *string
|
var token *string
|
||||||
token = nil
|
|
||||||
for hasMore {
|
for hasMore {
|
||||||
events, err := s.CW.FilterLogEvents(&cloudwatchlogs.FilterLogEventsInput{
|
events, err := s.CW.FilterLogEvents(&cloudwatchlogs.FilterLogEventsInput{
|
||||||
LogGroupName: aws.String(logGroup),
|
LogGroupName: aws.String(logGroup),
|
||||||
|
|
Loading…
Reference in New Issue