You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by fr...@apache.org on 2017/03/13 17:01:28 UTC

[1/2] incubator-trafficcontrol git commit: offlineReason instead of offline_reason

Repository: incubator-trafficcontrol
Updated Branches:
  refs/heads/2.0.x 2e8cabad4 -> 680d9e458


offlineReason instead of offline_reason

(cherry picked from commit 213cc9182c8b5e6fdaf9ea849c558798c42fa112)


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

Branch: refs/heads/2.0.x
Commit: c46f2e2b6cfc65920036fed0f86273329393bc6d
Parents: 2e8caba
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Mon Mar 13 09:23:24 2017 -0600
Committer: Eric Friedrich <fr...@apache.org>
Committed: Mon Mar 13 12:59:50 2017 -0400

----------------------------------------------------------------------
 traffic_ops/app/lib/API/Server.pm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c46f2e2b/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 446c46f..69ed6c3 100644
--- a/traffic_ops/app/lib/API/Server.pm
+++ b/traffic_ops/app/lib/API/Server.pm
@@ -157,7 +157,7 @@ sub show {
 				"mgmtIpAddress"  => $row->mgmt_ip_address,
 				"mgmtIpNetmask"  => $row->mgmt_ip_netmask,
 				"mgmtIpGateway"  => $row->mgmt_ip_gateway,
-				"offline_reason" => $row->offline_reason,
+				"offlineReason"  => $row->offline_reason,
 				"physLocation"   => $row->phys_location->name,
 				"physLocationId" => $row->phys_location->id,
 				"profile"        => $row->profile->name,
@@ -657,7 +657,7 @@ sub details_v11 {
 			"rack"           => $row->rack,
 			"type"           => $row->type->name,
 			"status"         => $row->status->name,
-			"offline_reason" => $row->offline_reason,
+			"offlineReason"  => $row->offline_reason,
 			"profile"        => $row->profile->name,
 			"profileDesc"    => $row->profile->description,
 			"mgmtIpAddress"  => $row->mgmt_ip_address,
@@ -732,7 +732,7 @@ sub details {
 				"rack"           => $row->rack,
 				"type"           => $row->type->name,
 				"status"         => $row->status->name,
-				"offline_reason" => $row->offline_reason,
+				"offlineReason"  => $row->offline_reason,
 				"profile"        => $row->profile->name,
 				"profileDesc"    => $row->profile->description,
 				"mgmtIpAddress"  => $row->mgmt_ip_address,


[2/2] incubator-trafficcontrol git commit: This closes #351

Posted by fr...@apache.org.
This closes #351


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

Branch: refs/heads/2.0.x
Commit: 680d9e4583333dfe38ba61491e88394d0f3428db
Parents: c46f2e2
Author: Eric Friedrich <fr...@apache.org>
Authored: Mon Mar 13 13:00:09 2017 -0400
Committer: Eric Friedrich <fr...@apache.org>
Committed: Mon Mar 13 13:00:09 2017 -0400

----------------------------------------------------------------------

----------------------------------------------------------------------