Bug 1379328
Summary: | Boolean attributes are published as string | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Aravinda VK <avishwan> | |
Component: | eventsapi | Assignee: | Aravinda VK <avishwan> | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
Severity: | unspecified | Docs Contact: | ||
Priority: | unspecified | |||
Version: | mainline | |||
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.10.0 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1387099 (view as bug list) | Environment: | ||
Last Closed: | 2017-03-06 17:27:39 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1387099 |
Description
Aravinda VK
2016-09-26 11:45:38 UTC
REVIEW: http://review.gluster.org/15574 (eventsapi: Auto convert Boolean and Int attributes) posted (#1) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15574 (eventsapi: Auto convert Boolean and Int attributes) posted (#2) for review on master by Aravinda VK (avishwan) REVIEW: http://review.gluster.org/15574 (eventsapi: Auto convert Boolean and Int attributes) posted (#3) for review on master by Aravinda VK (avishwan) COMMIT: http://review.gluster.org/15574 committed in master by Aravinda VK (avishwan) ------ commit a482645865af56b8d34a17430649c3c646f3d450 Author: Aravinda VK <avishwan> Date: Mon Sep 26 17:08:31 2016 +0530 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 } BUG: 1379328 Change-Id: Iabc51fd61abc267a7c8dcf0aeac6b3c722d89649 Signed-off-by: Aravinda VK <avishwan> Reviewed-on: http://review.gluster.org/15574 NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Prashanth Pai <ppai> Smoke: Gluster Build System <jenkins.org> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.10.0, please open a new bug report. glusterfs-3.10.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/gluster-users/2017-February/030119.html [2] https://www.gluster.org/pipermail/gluster-users/ |