Fix copy-paste bug
[osm/N2VC.git] / juju / application.py
index c3d2f0d..f6129a5 100644 (file)
@@ -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,