projects
/
osm
/
N2VC.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Docs
[osm/N2VC.git]
/
juju
/
unit.py
diff --git
a/juju/unit.py
b/juju/unit.py
index
9a75404
..
0145913
100644
(file)
--- a/
juju/unit.py
+++ b/
juju/unit.py
@@
-240,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]