trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dewr...@apache.org
Subject [incubator-trafficcontrol] branch master updated: return profiles without cdns by using left join
Date Tue, 01 May 2018 14:14:26 GMT
This is an automated email from the ASF dual-hosted git repository.

dewrich pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git


The following commit(s) were added to refs/heads/master by this push:
     new 87ed44e  return profiles without cdns by using left join
87ed44e is described below

commit 87ed44e5cbcb05aac6b9889ca964722dd41aef8f
Author: Dylan Volz <Dylan_Volz@comcast.com>
AuthorDate: Tue May 1 06:27:20 2018 -0600

    return profiles without cdns by using left join
---
 traffic_ops/traffic_ops_golang/profile/profiles.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/traffic_ops/traffic_ops_golang/profile/profiles.go b/traffic_ops/traffic_ops_golang/profile/profiles.go
index d848c6e..4e3a00f 100644
--- a/traffic_ops/traffic_ops_golang/profile/profiles.go
+++ b/traffic_ops/traffic_ops_golang/profile/profiles.go
@@ -160,7 +160,7 @@ prof.type,
 c.id as cdn,
 c.name as cdn_name
 FROM profile prof
-JOIN cdn c ON prof.cdn = c.id`
+LEFT JOIN cdn c ON prof.cdn = c.id`
 
 	return query
 }

-- 
To stop receiving notification emails like this one, please contact
dewrich@apache.org.

Mime
View raw message