trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From neu...@apache.org
Subject [1/2] incubator-trafficcontrol git commit: stash cdn and profile lists for DeliveryService#create
Date Tue, 02 May 2017 20:47:12 GMT
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master c5ab0a08a -> 9082584ea


stash cdn and profile lists for DeliveryService#create


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

Branch: refs/heads/master
Commit: bcc65d5fdb03963ce1e1072d47b37601112edf05
Parents: c5ab0a0
Author: Dan Kirkwood <dangogh@gmail.com>
Authored: Tue May 2 14:28:26 2017 -0600
Committer: Dan Kirkwood <dangogh@gmail.com>
Committed: Tue May 2 14:28:26 2017 -0600

----------------------------------------------------------------------
 traffic_ops/app/lib/UI/DeliveryService.pm | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/bcc65d5f/traffic_ops/app/lib/UI/DeliveryService.pm
----------------------------------------------------------------------
diff --git a/traffic_ops/app/lib/UI/DeliveryService.pm b/traffic_ops/app/lib/UI/DeliveryService.pm
index 7e63fba..94c8038 100644
--- a/traffic_ops/app/lib/UI/DeliveryService.pm
+++ b/traffic_ops/app/lib/UI/DeliveryService.pm
@@ -999,6 +999,9 @@ sub create {
 		$self->field('ds.xml_id')->is_equal( "", "A Delivery service with xml_id \"$xml_id\"
already exists." );
 	}
 
+	$self->stash_profile_selector('DS_PROFILE');
+	$self->stash_cdn_selector();
+	&stash_role($self);
 	if ( $self->check_deliveryservice_input($cdn_id) ) {
 		my $insert = $self->db->resultset('Deliveryservice')->create(
 			{


Mime
View raw message