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

    
https://github.com/apache/incubator-trafficcontrol/pull/127#discussion_r91540680
  
    --- 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 --
    
    @dangogh - do you have any idea why this would be occurring? why the 2 
different behaviors? in some cases we have to "cast" a boolean using \ to get 
true|false and in other instances the "cast" (or whatever it is called) returns 
values like `"active":"REF(0x7fae227c0e70)"`


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to