Fix TO Golang monitoring.json capitalisation

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

Branch: refs/heads/master
Commit: fbd81092e9fca076f75dec88c6de7a5deaacc096
Parents: d728b59
Author: Robert Butts <robert.o.bu...@gmail.com>
Authored: Tue Aug 8 16:42:25 2017 -0600
Committer: Dewayne Richardson <dewr...@apache.org>
Committed: Thu Aug 10 09:46:03 2017 -0600

----------------------------------------------------------------------
 traffic_ops/traffic_ops_golang/monitoring.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/fbd81092/traffic_ops/traffic_ops_golang/monitoring.go
----------------------------------------------------------------------
diff --git a/traffic_ops/traffic_ops_golang/monitoring.go 
b/traffic_ops/traffic_ops_golang/monitoring.go
index 62d356c..3804e75 100644
--- a/traffic_ops/traffic_ops_golang/monitoring.go
+++ b/traffic_ops/traffic_ops_golang/monitoring.go
@@ -47,7 +47,7 @@ type BasicServer struct {
        IP6        string `json:"ip6"`
        Port       int    `json:"port"`
        Cachegroup string `json:"cachegroup"`
-       HostName   string `json:"hostName"`
+       HostName   string `json:"hostname"`
        FQDN       string `json:"fqdn"`
 }
 
@@ -57,9 +57,9 @@ type Monitor struct {
 
 type Cache struct {
        BasicServer
-       InterfaceName string `json:"interfaceName"`
+       InterfaceName string `json:"interfacename"`
        Type          string `json:"type"`
-       HashID        string `json:"hashId"`
+       HashID        string `json:"hashid"`
 }
 
 type Cachegroup struct {

Reply via email to