You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by ne...@apache.org on 2017/03/02 03:39:43 UTC
[4/7] incubator-trafficcontrol git commit: Fix TM2 incorrect comment
Fix TM2 incorrect comment
Project: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/commit/c8247785
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/tree/c8247785
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/diff/c8247785
Branch: refs/heads/master
Commit: c8247785cb4341de4038e065724b3875bbd79146
Parents: fc667c8
Author: Robert Butts <ro...@gmail.com>
Authored: Tue Feb 28 10:42:37 2017 -0700
Committer: David Neuman <da...@gmail.com>
Committed: Wed Mar 1 20:39:10 2017 -0700
----------------------------------------------------------------------
traffic_monitor_golang/traffic_monitor/peer/crstates.go | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-trafficcontrol/blob/c8247785/traffic_monitor_golang/traffic_monitor/peer/crstates.go
----------------------------------------------------------------------
diff --git a/traffic_monitor_golang/traffic_monitor/peer/crstates.go b/traffic_monitor_golang/traffic_monitor/peer/crstates.go
index efa40a9..6919e37 100644
--- a/traffic_monitor_golang/traffic_monitor/peer/crstates.go
+++ b/traffic_monitor_golang/traffic_monitor/peer/crstates.go
@@ -229,7 +229,7 @@ func (t *CRStatesPeersThreadsafe) GetPeerAvailability(peer enum.TrafficMonitorNa
return availability
}
-// GetPeerAvailability returns the state of the given peer
+// GetQueryTimes returns the last query time of all peers
func (t *CRStatesPeersThreadsafe) GetQueryTimes() map[enum.TrafficMonitorName]time.Time {
t.m.RLock()
defer t.m.RUnlock()