Skip to content

Commit 1951425

Browse files
committed
chore: studpi bug
1 parent 138d8f9 commit 1951425

1 file changed

Lines changed: 8 additions & 7 deletions

File tree

juju/model/__init__.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3302,13 +3302,14 @@ async def new_wait_for_idle(
33023302
deadline = None if timeout is None else started + timeout
33033303

33043304
async def status_on_demand():
3305-
yield _idle.check(
3306-
await self.get_status(),
3307-
apps=apps,
3308-
raise_on_error=raise_on_error,
3309-
raise_on_blocked=raise_on_blocked,
3310-
status=status,
3311-
)
3305+
while True:
3306+
yield _idle.check(
3307+
await self.get_status(),
3308+
apps=apps,
3309+
raise_on_error=raise_on_error,
3310+
raise_on_blocked=raise_on_blocked,
3311+
status=status,
3312+
)
33123313

33133314
async for done in _idle.loop(
33143315
status_on_demand(),

0 commit comments

Comments
 (0)