[ https://issues.apache.org/jira/browse/TC-45?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15676420#comment-15676420 ]
ASF GitHub Bot commented on TC-45: ---------------------------------- GitHub user jifyang opened a pull request: https://github.com/apache/incubator-trafficcontrol/pull/95 Change "status" from id to name in server update Restful API Solve the issue https://issues.apache.org/jira/browse/TC-45. You can merge this pull request into a Git repository by running: $ git pull https://github.com/jifyang/incubator-trafficcontrol master Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-trafficcontrol/pull/95.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #95 ---- commit 5d7b18f6d8b0da6511e2caa240b27711189dac0c Author: Jifeng Yang <jify...@cisco.com> Date: 2016-11-18T22:15:19Z Change "status" from id to name in server update Restful API ---- > Change "status" from id to name in Restful API (server: update) > --------------------------------------------------------------- > > Key: TC-45 > URL: https://issues.apache.org/jira/browse/TC-45 > Project: Traffic Control > Issue Type: Improvement > Components: Traffic Ops API > Affects Versions: 1.7.0 > Reporter: Jifeng Yang > > In server update API (traffic_ops/app/lib/API/Server2.pm), status id is used. > The id value may change when the Ops is reinstalled. It's better to use > status name. -- This message was sent by Atlassian JIRA (v6.3.4#6332)