Fix separator in filter_log_events nextToken value. (#3914)
The old separator was present in some of the values being concatenated.
This commit is contained in:
parent
12b409e0de
commit
45167737e5
2 changed files with 6 additions and 6 deletions
|
|
@ -389,7 +389,7 @@ class LogGroup(BaseModel):
|
|||
first_index = 0
|
||||
if next_token:
|
||||
try:
|
||||
group, stream, event_id = next_token.split("/")
|
||||
group, stream, event_id = next_token.split("@")
|
||||
if group != log_group_name:
|
||||
raise ValueError()
|
||||
first_index = (
|
||||
|
|
@ -412,7 +412,7 @@ class LogGroup(BaseModel):
|
|||
next_token = None
|
||||
if events_page and last_index < len(events):
|
||||
last_event = events_page[-1]
|
||||
next_token = "{}/{}/{}".format(
|
||||
next_token = "{}@{}@{}".format(
|
||||
log_group_name, last_event["logStreamName"], last_event["eventId"]
|
||||
)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue