From acdcde3ec8aced7084d18698b04eac9b778cd0cb Mon Sep 17 00:00:00 2001 From: Pete Vander Giessen Date: Wed, 2 Nov 2016 15:25:18 -0400 Subject: [PATCH] Fixed call to self._wait in _wait_for_new Added 'add' --- juju/model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/juju/model.py b/juju/model.py index b74a6c8..d63f6d0 100644 --- a/juju/model.py +++ b/juju/model.py @@ -567,7 +567,7 @@ class Model(object): This coroutine blocks until the new object appears in the model. """ - return await self._wait(entity_type, entity_id, predicate) + return await self._wait(entity_type, entity_id, 'add', predicate) async def wait_for_action(self, action_id): """Given an action, wait for it to complete.""" -- 2.25.1