trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dewr...@apache.org
Subject [1/2] incubator-trafficcontrol git commit: fixes targetname
Date Wed, 12 Jul 2017 15:48:35 GMT
Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/master 474de97fe -> 1eda3c0f3


fixes targetname


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

Branch: refs/heads/master
Commit: 37a85296c5690dbe76b53ef935419be08b0e216a
Parents: 474de97
Author: Jeremy Mitchell <mitchell852@gmail.com>
Authored: Tue Jul 11 14:42:52 2017 -0600
Committer: Jeremy Mitchell <mitchell852@gmail.com>
Committed: Tue Jul 11 14:42:52 2017 -0600

----------------------------------------------------------------------
 .../edit/FormEditDeliveryServiceTargetController.js              | 2 +-
 .../private/configure/deliveryServices/targets/edit/index.js     | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/37a85296/traffic_portal/app/src/common/modules/form/deliveryServiceTarget/edit/FormEditDeliveryServiceTargetController.js
----------------------------------------------------------------------
diff --git a/traffic_portal/app/src/common/modules/form/deliveryServiceTarget/edit/FormEditDeliveryServiceTargetController.js
b/traffic_portal/app/src/common/modules/form/deliveryServiceTarget/edit/FormEditDeliveryServiceTargetController.js
index 2131a59..77ffa8b 100644
--- a/traffic_portal/app/src/common/modules/form/deliveryServiceTarget/edit/FormEditDeliveryServiceTargetController.js
+++ b/traffic_portal/app/src/common/modules/form/deliveryServiceTarget/edit/FormEditDeliveryServiceTargetController.js
@@ -34,7 +34,7 @@ var FormEditDeliveryServiceTargetController = function(deliveryService,
target,
 		saveLabel: 'Update'
 	};
 
-	$scope.targetName = angular.copy(target.targetXmlId);
+	$scope.targetName = angular.copy(target.target);
 
 	$scope.save = function(dsId, targetId, target) {
 		deliveryServiceService.updateDeliveryServiceTarget(dsId, targetId, target);

http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/37a85296/traffic_portal/app/src/modules/private/configure/deliveryServices/targets/edit/index.js
----------------------------------------------------------------------
diff --git a/traffic_portal/app/src/modules/private/configure/deliveryServices/targets/edit/index.js
b/traffic_portal/app/src/modules/private/configure/deliveryServices/targets/edit/index.js
index d1e0cbc..d195a36 100644
--- a/traffic_portal/app/src/modules/private/configure/deliveryServices/targets/edit/index.js
+++ b/traffic_portal/app/src/modules/private/configure/deliveryServices/targets/edit/index.js
@@ -30,8 +30,8 @@ module.exports = angular.module('trafficPortal.private.configure.deliveryService
 							deliveryService: function($stateParams, deliveryServiceService) {
 								return deliveryServiceService.getDeliveryService($stateParams.deliveryServiceId);
 							},
-							target: function(deliveryService, $stateParams, deliveryServiceService) {
-								return deliveryServiceService.getDeliveryServiceTarget(deliveryService.id, $stateParams.targetId);
+							target: function($stateParams, deliveryServiceService) {
+								return deliveryServiceService.getDeliveryServiceTarget($stateParams.deliveryServiceId,
$stateParams.targetId);
 							}
 						}
 					}


Mime
View raw message