summaryrefslogtreecommitdiffstats
path: root/libgfchangelog.pc.in
diff options
context:
space:
mode:
authorAravinda VK <avishwan@redhat.com>2016-09-26 17:08:31 +0530
committerAravinda VK <avishwan@redhat.com>2016-10-20 03:22:43 -0700
commit9d6133cfb9f040d21de9d8d57c1478186dde9084 (patch)
tree4cd4b87ce679e567288e3ce0a46d62e5db713477 /libgfchangelog.pc.in
parent4b496a1465924a72826a9e8c525feff9222d92e4 (diff)
eventsapi: Auto convert Boolean and Int attributes
Before publishing in JSON format, automatically convert the attribute to "bool" or "int" if configured. For example, instead of sending force="1", convert to bool and send as force=True { "event": "VOLUME_START", "name" : "gv1", "force": "1" } Convert to, { "event": "VOLUME_START", "name" : "gv1", "force": true } > Reviewed-on: http://review.gluster.org/15574 > NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> > CentOS-regression: Gluster Build System <jenkins@build.gluster.org> > Reviewed-by: Prashanth Pai <ppai@redhat.com> > Smoke: Gluster Build System <jenkins@build.gluster.org> BUG: 1387099 Change-Id: Iabc51fd61abc267a7c8dcf0aeac6b3c722d89649 Signed-off-by: Aravinda VK <avishwan@redhat.com> (cherry picked from commit a482645865af56b8d34a17430649c3c646f3d450) Reviewed-on: http://review.gluster.org/15682 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Prashanth Pai <ppai@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'libgfchangelog.pc.in')
0 files changed, 0 insertions, 0 deletions