Reviewed: https://review.openstack.org/319967 Committed: https://git.openstack.org/cgit/openstack/fuel-web/commit/?id=e31b5b16ee3529cd835a05ec523c0c0731c0c671 Submitter: Jenkins Branch: master
commit e31b5b16ee3529cd835a05ec523c0c0731c0c671 Author: Dmitry Guryanov <email address hidden> Date: Tue May 31 14:13:32 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
Reviewed: https:/ /review. openstack. org/319967 /git.openstack. org/cgit/ openstack/ fuel-web/ commit/ ?id=e31b5b16ee3 529cd835a05ec52 3c0c0731c0c671
Committed: https:/
Submitter: Jenkins
Branch: master
commit e31b5b16ee3529c d835a05ec523c0c 0731c0c671
Author: Dmitry Guryanov <email address hidden>
Date: Tue May 31 14:13:32 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
Closes-Bug: #1576261