Skip to content

Commit

Permalink
Fix REST server crashloop issue on Yamp
Browse files Browse the repository at this point in the history
Summary: [YAMP] Fix REST server crashloop issue on Yamp

Test Plan: Tested on MPK17 Glacier #17

Reviewed By: benwei13

fbshipit-source-id: b9e37c956
  • Loading branch information
mikechoifb authored and facebook-github-bot committed Oct 22, 2018
1 parent 8b6b9ab commit d49ec2a
Showing 1 changed file with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ def setup_common_routes(app):
app.router.add_get(common_routes[6], chandler.rest_sensors_hdl)
app.router.add_get(common_routes[7], chandler.rest_gpios_hdl)
app.router.add_get(common_routes[8], chandler.rest_fcpresent_hdl)
app.router.add_get(common_routes[9], chandler.modbus_registers_hdl)
app.router.add_get(common_routes[10], chandler.psu_update_hdl)
app.router.add_post(common_routes[10], chandler.psu_update_hdl_post)
app.router.add_get(common_routes[11], chandler.rest_slotid_hdl)
app.router.add_get(common_routes[12], chandler.rest_mTerm_status)
app.router.add_get(common_routes[9], chandler.psu_update_hdl)
app.router.add_post(common_routes[9], chandler.psu_update_hdl_post)
app.router.add_get(common_routes[10], chandler.rest_slotid_hdl)
app.router.add_get(common_routes[11], chandler.rest_mTerm_status)

0 comments on commit d49ec2a

Please sign in to comment.