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/03/13 15:40:34 UTC
[1/2] incubator-trafficcontrol git commit: This closes #350
Repository: incubator-trafficcontrol
Updated Branches:
refs/heads/master 4d8182f4e -> b24e8f38c
This closes #350
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/b24e8f38
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/b24e8f38
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/b24e8f38
Branch: refs/heads/master
Commit: b24e8f38c5f459aa6d201c70fa3fdd3de99e7639
Parents: 213cc91
Author: Dewayne Richardson <de...@apache.org>
Authored: Mon Mar 13 09:40:22 2017 -0600
Committer: Dewayne Richardson <de...@apache.org>
Committed: Mon Mar 13 09:40:22 2017 -0600
----------------------------------------------------------------------
----------------------------------------------------------------------
[2/2] incubator-trafficcontrol git commit: offlineReason instead of
offline_reason
Posted by de...@apache.org.
offlineReason instead of offline_reason
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/213cc918
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/213cc918
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/213cc918
Branch: refs/heads/master
Commit: 213cc9182c8b5e6fdaf9ea849c558798c42fa112
Parents: 4d8182f
Author: Jeremy Mitchell <mi...@gmail.com>
Authored: Mon Mar 13 09:23:24 2017 -0600
Committer: Dewayne Richardson <de...@apache.org>
Committed: Mon Mar 13 09:40:22 2017 -0600
----------------------------------------------------------------------
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/213cc918/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,