trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dewr...@apache.org
Subject [2/2] incubator-trafficcontrol git commit: Remove a duplicate API route for creating a Delivery Service
Date Thu, 06 Jul 2017 14:19:34 GMT
Remove a duplicate API route for creating a Delivery Service


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

Branch: refs/heads/master
Commit: 982533fc5842ac1790a499ed917cbff100dbf4ad
Parents: 602d8cc
Author: Rawlin Peters <rawlin_peters@comcast.com>
Authored: Wed Jul 5 15:53:19 2017 -0600
Committer: Dewayne Richardson <dewrich@apache.org>
Committed: Thu Jul 6 08:19:35 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/TrafficOpsRoutes.pm | 1 -
 1 file changed, 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/982533fc/traffic_ops/app/lib/TrafficOpsRoutes.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/TrafficOpsRoutes.pm b/traffic_ops/app/lib/TrafficOpsRoutes.pm
index 0b58483..84501a4 100644
--- a/traffic_ops/app/lib/TrafficOpsRoutes.pm
+++ b/traffic_ops/app/lib/TrafficOpsRoutes.pm
@@ -491,7 +491,6 @@ sub api_routes {
 	$r->get("/api/$version/deliveryservices")->over( authenticated => 1 )->to( 'Deliveryservice#index',
namespace => $namespace );
 	$r->get( "/api/$version/deliveryservices/:id" => [ id => qr/\d+/ ] )->over(
authenticated => 1 )->to( 'Deliveryservice#show', namespace => $namespace );
 	$r->post("/api/$version/deliveryservices")->over( authenticated => 1 )->to(
'Deliveryservice#create', namespace => $namespace );
-	$r->post("/api/$version/deliveryservices")->over( authenticated => 1 )->to(
'Deliveryservice#create', namespace => $namespace );
 	$r->put("/api/$version/deliveryservices/:id" => [ id => qr/\d+/ ] )->over( authenticated
=> 1 )->to( 'Deliveryservice#update', namespace => $namespace );
 	$r->delete("/api/$version/deliveryservices/:id" => [ id => qr/\d+/ ] )->over(
authenticated => 1 )->to( 'Deliveryservice#delete', namespace => $namespace );
 


Mime
View raw message