trafficcontrol-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dang...@apache.org
Subject [trafficcontrol] branch master updated: fixed compare.go compile error
Date Wed, 12 Sep 2018 21:52:51 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/master by this push:
     new 0fac67f  fixed compare.go compile error
0fac67f is described below

commit 0fac67fce55b8a1eaa3ec866f527b145324d8c5d
Author: Dewayne Richardson <dewrich@apache.org>
AuthorDate: Wed Sep 12 14:07:11 2018 -0600

    fixed compare.go compile error
---
 traffic_ops/testing/compare/compare.go | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/traffic_ops/testing/compare/compare.go b/traffic_ops/testing/compare/compare.go
index 4e37b5b..32d66ab 100644
--- a/traffic_ops/testing/compare/compare.go
+++ b/traffic_ops/testing/compare/compare.go
@@ -30,7 +30,7 @@ import (
 	"sync"
 	"unicode"
 
-	"github.com/apache/trafficcontrol/lib/go-tc/v13"
+	"github.com/apache/trafficcontrol/lib/go-tc"
 	"github.com/kelseyhightower/envconfig"
 	"golang.org/x/net/publicsuffix"
 )
@@ -191,7 +191,7 @@ func (to *Connect) getCDNNames() ([]string, error) {
 	}
 	fmt.Println(res)
 
-	var cdnResp v13.CDNsResponse
+	var cdnResp tc.CDNsResponse
 
 	err = json.Unmarshal([]byte(res), &cdnResp)
 	if err != nil {
@@ -295,7 +295,7 @@ func main() {
 		}
 		log.Printf("CDNNames are %+v", cdnNames)
 
-		wg.Add(2*len(cdnNames))
+		wg.Add(2 * len(cdnNames))
 		for _, cdnName := range cdnNames {
 			log.Print("CDN ", cdnName)
 			go func(c string) {


Mime
View raw message