Don't send StreamName when calling ListShards with NextToken. (#110)

Co-authored-by: Jason Pepper <jason.pepper@crypsisgroup.com>
This commit is contained in:
Jason Pepper 2020-03-20 00:45:53 -04:00 committed by GitHub
parent bc5c012fd3
commit dcd9d048fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,8 +27,7 @@ func listShards(ksis kinesisiface.KinesisAPI, streamName string) ([]*kinesis.Sha
}
listShardsInput = &kinesis.ListShardsInput{
NextToken: resp.NextToken,
StreamName: aws.String(streamName),
NextToken: resp.NextToken,
}
}
}