X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fdelta.py;h=c7f694d0d1c85873d64f7e5468cf3387a96889a5;hb=173b900fcd95b2436af55df2618302146f4a2f40;hp=247c81d077532109ec57ca066bfc4cb52c3d3c9e;hpb=561a68b42d847d63606cd73a9bdf129590538a1b;p=osm%2FN2VC.git diff --git a/juju/delta.py b/juju/delta.py index 247c81d..c7f694d 100644 --- a/juju/delta.py +++ b/juju/delta.py @@ -14,7 +14,7 @@ def get_entity_delta(d): class EntityDelta(client.Delta): def get_id(self): - return self.data['Id'] + return self.data['id'] def get_entity_class(self): return None @@ -22,7 +22,7 @@ class EntityDelta(client.Delta): class ApplicationDelta(EntityDelta): def get_id(self): - return self.data['Name'] + return self.data['name'] def get_entity_class(self): from .application import Application @@ -37,7 +37,7 @@ class MachineDelta(EntityDelta): class UnitDelta(EntityDelta): def get_id(self): - return self.data['Name'] + return self.data['name'] def get_entity_class(self): from .unit import Unit