We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a389f commit 2b351d8Copy full SHA for 2b351d8
src/dstack/_internal/server/services/logs/aws.py
@@ -117,10 +117,7 @@ def _get_log_events_with_retry(
117
if cw_events:
118
return cw_events, next_token
119
120
- if not next_token:
121
- return [], None
122
-
123
- if next_token == previous_next_token:
+ if not next_token or next_token == previous_next_token:
124
return [], None
125
126
previous_next_token = next_token
0 commit comments