summaryrefslogtreecommitdiffhomepage
path: root/server
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 /server
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 'server')
-rw-r--r--server/bmp.go2
-rw-r--r--server/collector.go2
-rw-r--r--server/fsm.go2
-rw-r--r--server/fsm_test.go2
-rw-r--r--server/mrt.go2
-rw-r--r--server/peer.go2
-rw-r--r--server/rpki.go2
-rw-r--r--server/server.go2
-rw-r--r--server/server_test.go2
-rw-r--r--server/sockopt_openbsd.go2
-rw-r--r--server/zclient.go2
11 files changed, 11 insertions, 11 deletions
diff --git a/server/bmp.go b/server/bmp.go
index 2d0d5ec2..16db2c55 100644
--- a/server/bmp.go
+++ b/server/bmp.go
@@ -17,11 +17,11 @@ package server
import (
"fmt"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/packet/bmp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"net"
"strconv"
"time"
diff --git a/server/collector.go b/server/collector.go
index 59f945be..50fb72e9 100644
--- a/server/collector.go
+++ b/server/collector.go
@@ -17,10 +17,10 @@ package server
import (
"fmt"
- log "github.com/Sirupsen/logrus"
"github.com/influxdata/influxdb/client/v2"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"time"
)
diff --git a/server/fsm.go b/server/fsm.go
index d5d75d92..6107f749 100644
--- a/server/fsm.go
+++ b/server/fsm.go
@@ -17,11 +17,11 @@ package server
import (
"fmt"
- log "github.com/Sirupsen/logrus"
"github.com/eapache/channels"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"gopkg.in/tomb.v2"
"io"
"math/rand"
diff --git a/server/fsm_test.go b/server/fsm_test.go
index e8ad2ad8..55318ac3 100644
--- a/server/fsm_test.go
+++ b/server/fsm_test.go
@@ -23,11 +23,11 @@ import (
"testing"
"time"
- log "github.com/Sirupsen/logrus"
"github.com/eapache/channels"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
)
diff --git a/server/mrt.go b/server/mrt.go
index 6c66745d..f4a22658 100644
--- a/server/mrt.go
+++ b/server/mrt.go
@@ -21,11 +21,11 @@ import (
"os"
"time"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/packet/mrt"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
)
const (
diff --git a/server/peer.go b/server/peer.go
index a629a16d..8adc6a22 100644
--- a/server/peer.go
+++ b/server/peer.go
@@ -17,11 +17,11 @@ package server
import (
"fmt"
- log "github.com/Sirupsen/logrus"
"github.com/eapache/channels"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"net"
"time"
)
diff --git a/server/rpki.go b/server/rpki.go
index 5c8c3db9..a93decb8 100644
--- a/server/rpki.go
+++ b/server/rpki.go
@@ -24,12 +24,12 @@ import (
"strconv"
"time"
- log "github.com/Sirupsen/logrus"
"github.com/armon/go-radix"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/packet/rtr"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"golang.org/x/net/context"
)
diff --git a/server/server.go b/server/server.go
index 48af87da..ac2f20ef 100644
--- a/server/server.go
+++ b/server/server.go
@@ -23,11 +23,11 @@ import (
"strconv"
"time"
- log "github.com/Sirupsen/logrus"
"github.com/eapache/channels"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
)
type TCPListener struct {
diff --git a/server/server_test.go b/server/server_test.go
index 98564b9f..887f5ec4 100644
--- a/server/server_test.go
+++ b/server/server_test.go
@@ -16,10 +16,10 @@
package server
import (
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/config"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
+ log "github.com/sirupsen/logrus"
"github.com/stretchr/testify/assert"
"net"
"runtime"
diff --git a/server/sockopt_openbsd.go b/server/sockopt_openbsd.go
index 16ed2c3d..90eb7490 100644
--- a/server/sockopt_openbsd.go
+++ b/server/sockopt_openbsd.go
@@ -19,7 +19,7 @@ package server
import (
"encoding/binary"
"fmt"
- log "github.com/Sirupsen/logrus"
+ log "github.com/sirupsen/logrus"
"net"
"os"
"strings"
diff --git a/server/zclient.go b/server/zclient.go
index d432b96d..85d238c8 100644
--- a/server/zclient.go
+++ b/server/zclient.go
@@ -17,10 +17,10 @@ package server
import (
"fmt"
- log "github.com/Sirupsen/logrus"
"github.com/osrg/gobgp/packet/bgp"
"github.com/osrg/gobgp/table"
"github.com/osrg/gobgp/zebra"
+ log "github.com/sirupsen/logrus"
"net"
"strconv"
"strings"