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/02/07 21:34:00 UTC
[1/2] incubator-trafficcontrol git commit: fixes incomplete prefetch
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/master 65e034f8b -> 95588a951
fixes incomplete prefetch
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/cb934ade
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/cb934ade
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/cb934ade
Branch: refs/heads/master
Commit: cb934aded06495a038ccdf983ed7b14f355e8655
Parents: 65e034f
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Tue Feb 7 14:29:40 2017 -0700
Committer: Dewayne Richardson <de...@apache.org>
Committed: Tue Feb 7 14:33:53 2017 -0700
----------------------------------------------------------------------
traffic_ops/app/lib/API/Server.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/cb934ade/traffic_ops/app/lib/API/Server.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/API/Server.pm b/traffic_ops/app/lib/API/Server.pm
index f56c724..afcaf9d 100644
--- a/traffic_ops/app/lib/API/Server.pm
+++ b/traffic_ops/app/lib/API/Server.pm
@@ -702,7 +702,7 @@ sub details {
my $rs_data = $self->db->resultset('Server')->search(
[ { host_name => $host_name }, { phys_location => $phys_location_id } ], {
- prefetch => [ 'cachegroup', 'type', 'profile', 'status', 'phys_location', 'hwinfos', 'deliveryservice_servers' ],
+ prefetch => [ 'cachegroup', 'type', 'profile', 'status', 'phys_location', 'hwinfos', { 'deliveryservice_servers' => 'deliveryservice' } ],
order_by => 'me.' . $orderby_snakecase
}
);
[2/2] incubator-trafficcontrol git commit: This closes #262
Posted by de...@apache.org.
This closes #262
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/95588a95
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/95588a95
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/95588a95
Branch: refs/heads/master
Commit: 95588a951260666e0deac21b33ddfa1d2249a789
Parents: cb934ad
Author: Dewayne Richardson <de...@apache.org>
Authored: Tue Feb 7 14:33:54 2017 -0700
Committer: Dewayne Richardson <de...@apache.org>
Committed: Tue Feb 7 14:33:54 2017 -0700
----------------------------------------------------------------------
----------------------------------------------------------------------