You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by mi...@apache.org on 2018/04/06 20:45:54 UTC

[incubator-trafficcontrol] 04/15: updated to use the v13 structs

This is an automated email from the ASF dual-hosted git repository.

mitchell852 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-trafficcontrol.git

commit 54c04d073223682f378f0f92c606001f3014154e
Author: Dewayne Richardson <de...@apache.org>
AuthorDate: Mon Apr 2 11:09:19 2018 -0600

    updated to use the v13 structs
---
 .../traffic_ops_golang/profileparameter/profile_parameters.go      | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters.go b/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters.go
index 7af58f8..893a792 100644
--- a/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters.go
+++ b/traffic_ops/traffic_ops_golang/profileparameter/profile_parameters.go
@@ -25,7 +25,8 @@ import (
 	"strconv"
 
 	"github.com/apache/incubator-trafficcontrol/lib/go-log"
-	"github.com/apache/incubator-trafficcontrol/lib/go-tc"
+	tc "github.com/apache/incubator-trafficcontrol/lib/go-tc"
+	"github.com/apache/incubator-trafficcontrol/lib/go-tc/v13"
 	"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/api"
 	"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/auth"
 	"github.com/apache/incubator-trafficcontrol/traffic_ops/traffic_ops_golang/dbhelpers"
@@ -37,10 +38,10 @@ import (
 )
 
 //we need a type alias to define functions on
-type TOProfileParameter tc.ProfileParameterNullable
+type TOProfileParameter v13.ProfileParameterNullable
 
 //the refType is passed into the handlers where a copy of its type is used to decode the json.
-var refType = TOProfileParameter(tc.ProfileParameterNullable{})
+var refType = TOProfileParameter(v13.ProfileParameterNullable{})
 
 func GetRefType() *TOProfileParameter {
 	return &refType

-- 
To stop receiving notification emails like this one, please contact
mitchell852@apache.org.