Raise errors in a centralized fashion.
[osm/N2VC.git] / juju / application.py
index 9863d88..6b1f8ab 100644 (file)
@@ -253,7 +253,7 @@ class Application(model.ModelEntity):
         self.ann_facade.connect(self.connection)
 
         ann = client.EntityAnnotations(
-            entity=self.name,
+            entity=self.tag,
             annotations=annotations,
         )
         return await self.ann_facade.Set([ann])