From: Tim Van Steenburgh Date: Tue, 18 Oct 2016 20:11:11 +0000 (-0400) Subject: Fix copy-paste bug X-Git-Tag: 0.1.0~68 X-Git-Url: https://osm.etsi.org/gitweb/?a=commitdiff_plain;h=c82b09f55dddef7a72885713bcfd272af479fb5a;p=osm%2FN2VC.git Fix copy-paste bug --- diff --git a/juju/application.py b/juju/application.py index c3d2f0d..f6129a5 100644 --- a/juju/application.py +++ b/juju/application.py @@ -185,7 +185,7 @@ class Application(model.ModelEntity): log.debug('Updating annotations on application %s', self.name) self.ann_facade = client.AnnotationsFacade() - self.ann_facade.connect(model.connection) + self.ann_facade.connect(self.connection) ann = client.EntityAnnotations( entity=self.name, diff --git a/juju/machine.py b/juju/machine.py index 5eac6c2..04abc3b 100644 --- a/juju/machine.py +++ b/juju/machine.py @@ -39,7 +39,7 @@ class Machine(model.ModelEntity): log.debug('Updating annotations on machine %s', self.id) self.ann_facade = client.AnnotationsFacade() - self.ann_facade.connect(model.connection) + self.ann_facade.connect(self.connection) ann = client.EntityAnnotations( entity=self.id,