v0.1.0
[osm/N2VC.git] / juju / unit.py
index ea51345..0145913 100644 (file)
@@ -108,9 +108,6 @@ class Unit(model.ModelEntity):
         :param int timeout: Time to wait before command is considered failed
         :returns: A :class:`juju.action.Action` instance.
 
-        Returns a tuple containing the stdout, stderr, and return code
-        from the command.
-
         """
         action = client.ActionFacade()
         action.connect(self.connection)
@@ -243,5 +240,10 @@ class Unit(model.ModelEntity):
                                                                 False)
 
     async def get_metrics(self):
+        """Get metrics for the unit.
+
+        :return: Dictionary of metrics for this unit.
+
+        """
         metrics = await self.model.get_metrics(self.tag)
         return metrics[self.name]