Github user mitchell852 commented on a diff in the pull request:

    
https://github.com/apache/incubator-trafficcontrol/pull/127#discussion_r91391206
  
    --- Diff: traffic_ops/app/lib/API/Deliveryservice.pm ---
    @@ -295,7 +295,7 @@ sub update {
                my @response;
                push(
                        @response, {
    -                           "active"                   => \$rs->active,
    +                           "active"                   => $rs->active,
    --- End diff --
    
    by removing the \ the api will return 0|1 for bools instead of true|false. 
we want to pass true|false to and from the api. now, it seems that since the 
values are stored in postgres the \ would not be needed and true|false would 
flow thru but that does not appear to be the case.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to