We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a627655 commit 8627287Copy full SHA for 8627287
1 file changed
juju/model.py
@@ -917,12 +917,15 @@ async def _all_watcher():
917
pass # can't stop on a closed conn
918
break
919
for delta in results.deltas:
920
+ entity = None
921
try:
922
entity = get_entity_delta(delta)
923
except KeyError:
924
if self.strict_mode:
925
raise JujuError("unknown delta type '{}'".format(delta.entity))
926
927
+ if not self.strict_mode and entity is None:
928
+ continue
929
old_obj, new_obj = self.state.apply_delta(entity)
930
await self._notify_observers(entity, old_obj, new_obj)
931
# Post step ensure that we can handle any settings
0 commit comments