summaryrefslogtreecommitdiffhomepage
path: root/table
diff options
context:
space:
mode:
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-07 16:00:34 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-06-07 21:04:11 +0900
commitd65df0b0452e2acb3234836507ba07107035d572 (patch)
treefd7457ceaed407e67e2e8a25f693a12c993efd31 /table
parent452eb2a4f679b26a6aa71761160ba9ec43d97ffc (diff)
replace github.com/Sirupsen/logrus with github.com/sirupsen/logrus
The usage of "github.com/sirupsen/logrus" is recommended. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'table')
-rw-r--r--table/destination.go2
-rw-r--r--table/message.go2
-rw-r--r--table/path.go2
-rw-r--r--table/policy.go2
-rw-r--r--table/policy_test.go2
-rw-r--r--table/table.go2
-rw-r--r--table/table_manager.go2
-rw-r--r--table/table_manager_test.go2
8 files changed, 8 insertions, 8 deletions
diff --git a/table/destination.go b/table/destination.go
index 9664fdbc..21857e44 100644
--- a/table/destination.go
+++ b/table/destination.go
@@ -23,9 +23,9 @@ import (
"net"
"sort"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
)
var SelectionOptions config.RouteSelectionOptionsConfig
diff --git a/table/message.go b/table/message.go
index af4affa6..30a75d24 100644
--- a/table/message.go
+++ b/table/message.go
@@ -17,8 +17,8 @@ package table
import (
"bytes"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
"hash/fnv"
"reflect"
)
diff --git a/table/path.go b/table/path.go
index b2984fe4..bca2fe94 100644
--- a/table/path.go
+++ b/table/path.go
@@ -24,10 +24,10 @@ import (
"sort"
"time"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/satori/go.uuid"
+ log "github.com/sirupsen/logrus"
)
const (
diff --git a/table/policy.go b/table/policy.go
index 2cca91a9..a73fa57a 100644
--- a/table/policy.go
+++ b/table/policy.go
@@ -26,10 +26,10 @@ import (
"strings"
"sync"
- log "github.com/Sirupsen/logrus"
"github.com/armon/go-radix"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
)
type PolicyOptions struct {
diff --git a/table/policy_test.go b/table/policy_test.go
index a846dabe..c55eb1c8 100644
--- a/table/policy_test.go
+++ b/table/policy_test.go
@@ -24,9 +24,9 @@ import (
"testing"
"time"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
diff --git a/table/table.go b/table/table.go
index 6e90faf7..c1ed3a29 100644
--- a/table/table.go
+++ b/table/table.go
@@ -20,9 +20,9 @@ import (
"net"
"sort"
- log "github.com/Sirupsen/logrus"
"github.com/armon/go-radix"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
)
type LookupOption uint8
diff --git a/table/table_manager.go b/table/table_manager.go
index 3060dda0..e41c2798 100644
--- a/table/table_manager.go
+++ b/table/table_manager.go
@@ -18,8 +18,8 @@ package table
import (
"bytes"
"fmt"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
"net"
"time"
)
diff --git a/table/table_manager_test.go b/table/table_manager_test.go
index 21d15026..2a8ed2f6 100644
--- a/table/table_manager_test.go
+++ b/table/table_manager_test.go
@@ -17,8 +17,8 @@ package table
import (
_ "fmt"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/packet/bgp"
+ log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"net"
"os"