diff options
author | Aravinda VK <avishwan@redhat.com> | 2017-04-13 12:56:09 +0530 |
---|---|---|
committer | Raghavendra Talur <rtalur@redhat.com> | 2017-05-02 11:31:23 +0000 |
commit | e075b60ccf30265f8731e4ff3a476ebb1277ba24 (patch) | |
tree | cebe93f1c858cd2a2bcf42689dd634ec99d354bd /xlators | |
parent | a00ebebdb68bfe97cca263d0327889abf37b3d19 (diff) |
eventsapi: Fix webhook-test when no schema specified in URL
If no schema specifed like `http` or `https` while testing webhook,
it was failing with Schema Exception and not communicated the error
to CLI caller.
With this patch exception is handled and responded back to CLI caller.
> Reviewed-on: https://review.gluster.org/17054
> Smoke: Gluster Build System <jenkins@build.gluster.org>
> Reviewed-by: Prashanth Pai <ppai@redhat.com>
> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
(cherry picked from commit a9b5333d7bae6e20ffef07dffcda49eaf9d6823b)
BUG: 1443349
Signed-off-by: Aravinda VK <avishwan@redhat.com>
Change-Id: I9be11d36e9f65be873516fef370c327f1cdbc93e
Change-Id: Ied16e156e9b6a96a416b689f8b3a67e976f5b3de
Reviewed-on: https://review.gluster.org/17079
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'xlators')
0 files changed, 0 insertions, 0 deletions