From c82b09f55dddef7a72885713bcfd272af479fb5a Mon Sep 17 00:00:00 2001 From: Tim Van Steenburgh Date: Tue, 18 Oct 2016 16:11:11 -0400 Subject: [PATCH] Fix copy-paste bug --- juju/application.py | 2 +- juju/machine.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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, -- 2.25.1