Change in vdsm[master]: hooks: introduce before/after_get_stats hook points

danken at redhat.com danken at redhat.com
Wed Apr 29 15:55:37 UTC 2015


Dan Kenigsberg has posted comments on this change.

Change subject: hooks: introduce before/after_get_stats hook points
......................................................................


Patch Set 1: Verified+1

the after_ hook below works as it should.

  import hooking

  stats = hooking.read_json()
  stats['foo'] = 'bar'
  hooking.write_json(stats)

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

Gerrit-MessageType: comment
Gerrit-Change-Id: Id1ff93837abb73f88ececc7571115645b95486cf
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Petr Horáček <phoracek at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: No


More information about the vdsm-patches mailing list