X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=juju%2Fapplication.py;h=69f412fb2044a7412dde0d0a5decf90195b8962e;hb=ea3d50fc8145b8182ce8dd191ae750b42f5ff2ba;hp=74f90579754891a06f65b67c5168f3b15e48f804;hpb=8d1b4db692305b1e9e5bd4ed5e0cb3eacdcac42a;p=osm%2FN2VC.git diff --git a/juju/application.py b/juju/application.py index 74f9057..69f412f 100644 --- a/juju/application.py +++ b/juju/application.py @@ -41,14 +41,14 @@ class Application(model.ModelEntity): """Get the application status, as set by the charm's leader. """ - return self.data['status']['current'] + return self.safe_data['status']['current'] @property def status_message(self): """Get the application status message, as set by the charm's leader. """ - return self.data['status']['message'] + return self.safe_data['status']['message'] @property def tag(self):