Reviewed: https://review.openstack.org/353464 Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=2a56355242f94144a49c8675ef854604a466b8ae Submitter: Jenkins Branch: stable/mitaka
commit 2a56355242f94144a49c8675ef854604a466b8ae Author: Dmitry Guryanov <email address hidden> Date: Thu Sep 1 19:57:22 2016 +0300
Fix deployment_tasks api, when graph_type is an empty string
Nailgun should treat and empty string, given to
/clusters/(?P<obj_id>\d+)/deployment_tasks/?graph_type=$ /clusters/(?P<obj_id>\d+)/deployment_tasks/plugins/?graph_type=$ /clusters/(?P<obj_id>\d+)/deployment_tasks/release/?graph_type=$ e.t.c.
as default graph type. So let's convert some 'false' values to None in handlers.
Change-Id: I238764d24fc14b2a41baaca37dabb6264e7e91d8 Closes-Bug: #1576261 (cherry picked from commit e31b5b16ee3529cd835a05ec523c0c0731c0c671)
Reviewed: https:/ /review. openstack. org/353464 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=2a56355242f 94144a49c8675ef 854604a466b8ae
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit 2a56355242f9414 4a49c8675ef8546 04a466b8ae
Author: Dmitry Guryanov <email address hidden>
Date: Thu Sep 1 19:57:22 2016 +0300
Fix deployment_tasks api, when graph_type is an empty string
Nailgun should treat and empty string, given to
/clusters/ (?P<obj_ id>\d+) /deployment_ tasks/? graph_type= $ (?P<obj_ id>\d+) /deployment_ tasks/plugins/ ?graph_ type=$ (?P<obj_ id>\d+) /deployment_ tasks/release/ ?graph_ type=$
/clusters/
/clusters/
e.t.c.
as default graph type. So let's convert some 'false'
values to None in handlers.
Change-Id: I238764d24fc14b 2a41baaca37dabb 6264e7e91d8 d835a05ec523c0c 0731c0c671)
Closes-Bug: #1576261
(cherry picked from commit e31b5b16ee3529c