You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficcontrol.apache.org by da...@apache.org on 2018/08/22 16:50:32 UTC

[trafficcontrol] branch master updated: ran 'go fmt' on TM

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 54ed168  ran 'go fmt' on TM
54ed168 is described below

commit 54ed16832c5807f9f5e36b4558fb46008c8d8b4c
Author: Jesse Rivas <je...@comcast.com>
AuthorDate: Wed Aug 22 10:03:19 2018 -0600

    ran 'go fmt' on TM
---
 traffic_monitor/cache/astats_test.go               | 5 ++---
 traffic_monitor/datareq/cachestatfilter.go         | 2 +-
 traffic_monitor/manager/health.go                  | 2 +-
 traffic_monitor/threadsafe/cacheavailablestatus.go | 5 +++--
 traffic_monitor/threadsafe/cachemaxkbpses.go       | 5 +++--
 5 files changed, 10 insertions(+), 9 deletions(-)

diff --git a/traffic_monitor/cache/astats_test.go b/traffic_monitor/cache/astats_test.go
index 67dd8aa..b3c1860 100644
--- a/traffic_monitor/cache/astats_test.go
+++ b/traffic_monitor/cache/astats_test.go
@@ -8,9 +8,9 @@ package cache
  * to you under the Apache License, Version 2.0 (the
  * "License"); you may not use this file except in compliance
  * with the License.  You may obtain a copy of the License at
- * 
+ *
  *   http://www.apache.org/licenses/LICENSE-2.0
- * 
+ *
  * Unless required by applicable law or agreed to in writing,
  * software distributed under the License is distributed on an
  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
@@ -19,7 +19,6 @@ package cache
  * under the License.
  */
 
-
 import (
 	"fmt"
 	"io/ioutil"
diff --git a/traffic_monitor/datareq/cachestatfilter.go b/traffic_monitor/datareq/cachestatfilter.go
index 4fa0523..3ee0761 100644
--- a/traffic_monitor/datareq/cachestatfilter.go
+++ b/traffic_monitor/datareq/cachestatfilter.go
@@ -25,8 +25,8 @@ import (
 	"strconv"
 	"strings"
 
-	"github.com/apache/trafficcontrol/traffic_monitor/cache"
 	"github.com/apache/trafficcontrol/lib/go-tc"
+	"github.com/apache/trafficcontrol/traffic_monitor/cache"
 )
 
 // CacheStatFilter fulfills the cache.Filter interface, for filtering stats. See the `NewCacheStatFilter` documentation for details on which query parameters are used to filter.
diff --git a/traffic_monitor/manager/health.go b/traffic_monitor/manager/health.go
index ed5b88f..fa47fba 100644
--- a/traffic_monitor/manager/health.go
+++ b/traffic_monitor/manager/health.go
@@ -23,9 +23,9 @@ import (
 	"time"
 
 	"github.com/apache/trafficcontrol/lib/go-log"
+	"github.com/apache/trafficcontrol/lib/go-tc"
 	"github.com/apache/trafficcontrol/traffic_monitor/cache"
 	"github.com/apache/trafficcontrol/traffic_monitor/config"
-	"github.com/apache/trafficcontrol/lib/go-tc"
 	"github.com/apache/trafficcontrol/traffic_monitor/health"
 	"github.com/apache/trafficcontrol/traffic_monitor/peer"
 	"github.com/apache/trafficcontrol/traffic_monitor/threadsafe"
diff --git a/traffic_monitor/threadsafe/cacheavailablestatus.go b/traffic_monitor/threadsafe/cacheavailablestatus.go
index a839994..107341d 100644
--- a/traffic_monitor/threadsafe/cacheavailablestatus.go
+++ b/traffic_monitor/threadsafe/cacheavailablestatus.go
@@ -20,9 +20,10 @@ package threadsafe
  */
 
 import (
-	"github.com/apache/trafficcontrol/traffic_monitor/cache"
-	"github.com/apache/trafficcontrol/lib/go-tc"
 	"sync"
+
+	"github.com/apache/trafficcontrol/lib/go-tc"
+	"github.com/apache/trafficcontrol/traffic_monitor/cache"
 )
 
 // CacheAvailableStatus wraps a map of cache available statuses to be safe for multiple reader goroutines and one writer.
diff --git a/traffic_monitor/threadsafe/cachemaxkbpses.go b/traffic_monitor/threadsafe/cachemaxkbpses.go
index ba04870..8e620b6 100644
--- a/traffic_monitor/threadsafe/cachemaxkbpses.go
+++ b/traffic_monitor/threadsafe/cachemaxkbpses.go
@@ -20,9 +20,10 @@ package threadsafe
  */
 
 import (
-	"github.com/apache/trafficcontrol/traffic_monitor/cache"
-	"github.com/apache/trafficcontrol/lib/go-tc"
 	"sync"
+
+	"github.com/apache/trafficcontrol/lib/go-tc"
+	"github.com/apache/trafficcontrol/traffic_monitor/cache"
 )
 
 // CacheAvailableStatus wraps a map of cache available statuses to be safe for multiple reader goroutines and one writer.