Reviewed: https://review.openstack.org/416542 Committed: https://git.openstack.org/cgit/openstack/masakari/commit/?id=4f4c42bd8d5e4dcfb2172f1b2d7bf2c78c606f45 Submitter: Jenkins Branch: master
commit 4f4c42bd8d5e4dcfb2172f1b2d7bf2c78c606f45 Author: Dinesh Bhor <email address hidden> Date: Tue Jan 3 15:17:25 2017 +0530
Extracted HTTP response codes to constants
There are several places in the source code where HTTP response codes are used as numeric values.
All of the used status codes are replaced with symbolic constants from six.moves.http_client to improve code readibility.
Closes-Bug: #1520159
Change-Id: Ic5e439fb1f33962979536fe1ac5e5320e2c50c40
Reviewed: https:/ /review. openstack. org/416542 /git.openstack. org/cgit/ openstack/ masakari/ commit/ ?id=4f4c42bd8d5 e4dcfb2172f1b2d 7bf2c78c606f45
Committed: https:/
Submitter: Jenkins
Branch: master
commit 4f4c42bd8d5e4dc fb2172f1b2d7bf2 c78c606f45
Author: Dinesh Bhor <email address hidden>
Date: Tue Jan 3 15:17:25 2017 +0530
Extracted HTTP response codes to constants
There are several places in the source code where HTTP response
codes are used as numeric values.
All of the used status codes are replaced with symbolic constants http_client to improve code readibility.
from six.moves.
Closes-Bug: #1520159
Change-Id: Ic5e439fb1f3396 2979536fe1ac5e5 320e2c50c40