You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/03/13 15:24:41 UTC

[jira] [Commented] (TC-183) api/1.2/servers/:id returns 'offline_reason' instead of the expected 'offlineReason'

    [ https://issues.apache.org/jira/browse/TC-183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15907659#comment-15907659 ] 

ASF GitHub Bot commented on TC-183:
-----------------------------------

GitHub user mitchell852 opened a pull request:

    https://github.com/apache/incubator-trafficcontrol/pull/350

    [TC-183] - in server.pm - offlineReason instead of offline_reason

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/mitchell852/incubator-trafficcontrol TC-183

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-trafficcontrol/pull/350.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 #350
    
----
commit 4e35c2aefe4af79f428961cd2599557ae87e3796
Author: Jeremy Mitchell <mi...@gmail.com>
Date:   2017-03-13T15:23:24Z

    offlineReason instead of offline_reason

----


> api/1.2/servers/:id returns 'offline_reason' instead of the expected 'offlineReason'
> ------------------------------------------------------------------------------------
>
>                 Key: TC-183
>                 URL: https://issues.apache.org/jira/browse/TC-183
>             Project: Traffic Control
>          Issue Type: Bug
>          Components: Traffic Ops API
>    Affects Versions: 1.8.0, 2.0.0
>            Reporter: Jason Tucker
>            Assignee: Jeremy Mitchell
>            Priority: Minor
>
> {{GET /api/1.2/servers/:id}} returns 'offline_reason', but {{PUT /api/1.2/servers/:id}} is expecting 'offlineReason'. This is causes problems if you are fetching, modifying, and resubmitting server properties.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)