Change in vdsm[master]: vmstats: reformat to make the code nicer
fromani at redhat.com
fromani at redhat.com
Thu Nov 12 13:07:36 UTC 2015
Francesco Romani has uploaded a new change for review.
Change subject: vmstats: reformat to make the code nicer
......................................................................
vmstats: reformat to make the code nicer
Silly reformat-only patch to make the code look nicer.
Change-Id: I87de5b265b73b662c890b84fd53b2b0f29b4228a
Format-Only: yes
Signed-off-by: Francesco Romani <fromani at redhat.com>
---
M vdsm/virt/vmstats.py
1 file changed, 5 insertions(+), 3 deletions(-)
git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/92/48492/1
diff --git a/vdsm/virt/vmstats.py b/vdsm/virt/vmstats.py
index 93dd0e3..e63ff4c 100644
--- a/vdsm/virt/vmstats.py
+++ b/vdsm/virt/vmstats.py
@@ -334,9 +334,11 @@
)
return elapsed_time / operations
- return {'readLatency': str(compute_latency('rd')),
- 'writeLatency': str(compute_latency('wr')),
- 'flushLatency': str(compute_latency('fl'))}
+ return {
+ 'readLatency': str(compute_latency('rd')),
+ 'writeLatency': str(compute_latency('wr')),
+ 'flushLatency': str(compute_latency('fl'))
+ }
def _disk_iops_bytes(first_sample, first_index, last_sample, last_index):
--
To view, visit https://gerrit.ovirt.org/48492
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I87de5b265b73b662c890b84fd53b2b0f29b4228a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
More information about the vdsm-patches
mailing list