You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ra...@apache.org on 2019/01/31 18:40:59 UTC

[trafficcontrol] branch master updated: Fix TM unnecessary self-assignment (#3294)

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

rawlin 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 cfb8251  Fix TM unnecessary self-assignment (#3294)
cfb8251 is described below

commit cfb8251043beaa26d9575f25ca44798ed0bdcb7d
Author: Robert Butts <ro...@users.noreply.github.com>
AuthorDate: Thu Jan 31 11:40:55 2019 -0700

    Fix TM unnecessary self-assignment (#3294)
---
 traffic_monitor/tools/testcaches/testcaches.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/traffic_monitor/tools/testcaches/testcaches.go b/traffic_monitor/tools/testcaches/testcaches.go
index 404ec5e..c989c2f 100644
--- a/traffic_monitor/tools/testcaches/testcaches.go
+++ b/traffic_monitor/tools/testcaches/testcaches.go
@@ -53,12 +53,11 @@ func main() {
 	}
 
 	remaps := makeFakeRemaps(*numRemaps)
-	servers, err := fakesrvr.News(*portStart, *numPorts, remaps)
+	_, err := fakesrvr.News(*portStart, *numPorts, remaps)
 	if err != nil {
 		fmt.Println("Error making FakeServers: " + err.Error())
 		return
 	}
-	servers = servers // debug
 	for {
 		// TODO handle sighup to die
 		time.Sleep(time.Hour)