update CrConfig struct to work with TO 2.0

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

Branch: refs/heads/master
Commit: 9576b3e26493d39b7adcb98d2106d7196a6120cd
Parents: 7e65ca4
Author: David Neuman <david.neuma...@gmail.com>
Authored: Mon Mar 13 15:20:29 2017 -0600
Committer: Jeremy Mitchell <mitchell...@gmail.com>
Committed: Wed Mar 15 09:21:47 2017 -0600

----------------------------------------------------------------------
 traffic_monitor_golang/traffic_monitor/crconfig/data.go | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/9576b3e2/traffic_monitor_golang/traffic_monitor/crconfig/data.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/crconfig/data.go 
b/traffic_monitor_golang/traffic_monitor/crconfig/data.go
index 6c9136f..aaae7cc 100644
--- a/traffic_monitor_golang/traffic_monitor/crconfig/data.go
+++ b/traffic_monitor_golang/traffic_monitor/crconfig/data.go
@@ -108,7 +108,7 @@ type Router struct {
        APIPortTime   time.Time
        FQDN          *string `json:"fqdn,omitempty"`
        FQDNTime      time.Time
-       HTTPSPort     *int `json:"httpsPort,string,omitempty"`
+       HTTPSPort     *int `json:"httpsPort,omitempty"`
        HTTPSPortTime time.Time
        IP            *string `json:"ip,omitempty"`
        IPTime        time.Time
@@ -116,7 +116,7 @@ type Router struct {
        IP6Time       time.Time
        Location      *string `json:"location,omitempty"`
        LocationTime  time.Time
-       Port          *int `json:"port,string,omitempty"`
+       Port          *int `json:"port,omitempty"`
        PortTime      time.Time
        Profile       *string `json:"profile,omitempty"`
        ProfileTime   time.Time
@@ -137,7 +137,7 @@ type Server struct {
        HashCountTime        time.Time           `json:"-"`
        HashId               *string             `json:"hashId,omitempty"`
        HashIdTime           time.Time           `json:"-"`
-       HttpsPort            *int                
`json:"httpsPort,string,omitempty"`
+       HttpsPort            *int                `json:"httpsPort,omitempty"`
        HttpsPortTime        time.Time           `json:"-"`
        InterfaceName        *string             
`json:"interfaceName,omitempty"`
        InterfaceNameTime    time.Time           `json:"-"`
@@ -147,7 +147,7 @@ type Server struct {
        Ip6Time              time.Time           `json:"-"`
        LocationId           *string             `json:"locationId,omitempty"`
        LocationIdTime       time.Time           `json:"-"`
-       Port                 *int                `json:"port,string,omitempty"`
+       Port                 *int                `json:"port,omitempty"`
        PortTime             time.Time           `json:"-"`
        Profile              *string             `json:"profile,omitempty"`
        ProfileTime          time.Time           `json:"-"`
@@ -207,7 +207,7 @@ type DeliveryServiceProtocol struct {
 type Monitor struct {
        FQDN          *string   `json:"fqdn,omitempty"`
        FQDNTime      time.Time `json:"-"`
-       HTTPSPort     *int      `json:"httpsPort,string,omitempty"`
+       HTTPSPort     *int      `json:"httpsPort,omitempty"`
        HTTPSPortTime time.Time `json:"-"`
        IP            *string   `json:"ip,omitempty"`
        IPTime        time.Time `json:"-"`
@@ -215,7 +215,7 @@ type Monitor struct {
        IP6Time       time.Time `json:"-"`
        Location      *string   `json:"location,omitempty"`
        LocationTime  time.Time `json:"-"`
-       Port          *int      `json:"port,string,omitempty"`
+       Port          *int      `json:"port,omitempty"`
        PortTime      time.Time `json:"-"`
        Profile       *string   `json:"profile,omitempty"`
        ProfileTime   time.Time `json:"-"`

Reply via email to