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

    
https://github.com/apache/incubator-trafficcontrol/pull/402#discussion_r109322384
  
    --- Diff: traffic_ops/app/lib/API/Cdn.pm ---
    @@ -123,10 +126,14 @@ sub create {
                return $self->alert( "a cdn with domain " . 
$params->{domainName} . " already exists." );
        }
     
    +   #setting tenant_id to the user's tenant if tenant is not set. 
TODO(nirs): remove when tenancy is no longer optional in the API
    +   my $tenant_id = exists($params->{tenantId}) ? $params->{tenantId} :  
$self->current_user_tenant();
    +
        my $values = {
                name => $params->{name},
                dnssec_enabled => $params->{dnssecEnabled},
                domain_name => $params->{domainName},
    +           tenant_id => $tenant_id,
    --- End diff --
    
    that's fine


---
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