Skip to content

Commit 971531e

Browse files
committed
paused state: delete pods only status is paused
1 parent 1c26f8f commit 971531e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/btrixcloud/operator/crawls.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ async def sync_crawls(self, data: MCSyncData):
362362
for i in range(0, status.scale):
363363
children.extend(
364364
self._load_crawler(
365-
params, i, status, data.children, bool(crawl.paused_at)
365+
params, i, status, data.children, status.state == "paused"
366366
)
367367
)
368368

0 commit comments

Comments
 (0)