You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by de...@apache.org on 2017/05/02 17:21:46 UTC

[3/4] incubator-trafficcontrol git commit: removes ambiguous column reference

removes ambiguous column reference


Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/bf3a7ecc
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/bf3a7ecc
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/bf3a7ecc

Branch: refs/heads/master
Commit: bf3a7eccf97ed0141e50dd6d5f71bacba8a9e401
Parents: 696aed4
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Mon May 1 15:01:04 2017 -0600
Committer: Dewayne Richardson <de...@apache.org>
Committed: Tue May 2 11:20:57 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/UI/DnssecKeys.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/bf3a7ecc/traffic_ops/app/lib/UI/DnssecKeys.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/DnssecKeys.pm b/traffic_ops/app/lib/UI/DnssecKeys.pm
index 97ec1e9..e255e7d 100644
--- a/traffic_ops/app/lib/UI/DnssecKeys.pm
+++ b/traffic_ops/app/lib/UI/DnssecKeys.pm
@@ -239,7 +239,7 @@ sub create {
 		}
 
 		#create keys
-		my $profile = $self->db->resultset('Profile')->search( { id => $profile_id }, { prefetch => ['cdn'] } )->single();
+		my $profile = $self->db->resultset('Profile')->search( { 'me.id' => $profile_id }, { prefetch => ['cdn'] } )->single();
 		my $domain_name = $profile->cdn->domain_name;
 
 		my $response_container = $self->riak_ping();