summaryrefslogtreecommitdiffhomepage
path: root/internal
diff options
context:
space:
mode:
authorSergey Elantsev <elantsev.s@yandex.ru>2018-11-24 12:56:21 +0300
committerSergey Elantsev <elantsev.s@yandex.ru>2018-11-24 12:56:21 +0300
commita6aaf556128cf681c28e9ad4673c127e24dd9629 (patch)
tree311dd281945b47cd6c2b01e1446cb5983728fbcb /internal
parent79a461c147ed58150a3d6653fb3440fe24018c8a (diff)
minor cleanup: update Gopkg.lock and erase redundant nil set
Diffstat (limited to 'internal')
-rw-r--r--internal/pkg/table/destination.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/table/destination.go b/internal/pkg/table/destination.go
index fa61572e..b843f8f4 100644
--- a/internal/pkg/table/destination.go
+++ b/internal/pkg/table/destination.go
@@ -501,7 +501,7 @@ func (dst *Destination) sort() {
reason = BPR_OLDER
}
if better == nil {
- var e error = nil
+ var e error
better, e = compareByRouterID(path1, path2)
if e != nil {
log.WithFields(log.Fields{