Change in vdsm[master]: sampling: hoststats: kill sample() method

danken at redhat.com danken at redhat.com
Thu May 14 11:36:11 UTC 2015


Dan Kenigsberg has submitted this change and it was merged.

Change subject: sampling: hoststats: kill sample() method
......................................................................


sampling: hoststats: kill sample() method

HostStatsThread.sample() is a two-line method used only once.

Remove it to reduce the code size, but also to make the code a
little bit clearer.

Change-Id: I8b8903c27c34a4ba7f737aba1d88d67abec08816
Signed-off-by: Francesco Romani <fromani at redhat.com>
Reviewed-on: https://gerrit.ovirt.org/40425
Reviewed-by: Dan Kenigsberg <danken at redhat.com>
Continuous-Integration: Jenkins CI
---
M vdsm/virt/sampling.py
1 file changed, 1 insertion(+), 5 deletions(-)

Approvals:
  Jenkins CI: Passed CI tests
  Dan Kenigsberg: Looks good to me, approved
  Francesco Romani: Verified



-- 
To view, visit https://gerrit.ovirt.org/40425
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I8b8903c27c34a4ba7f737aba1d88d67abec08816
Gerrit-PatchSet: 5
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Francesco Romani <fromani at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: automation at ovirt.org


More information about the vdsm-patches mailing list