summaryrefslogtreecommitdiffhomepage
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
parent79a461c147ed58150a3d6653fb3440fe24018c8a (diff)
minor cleanup: update Gopkg.lock and erase redundant nil set
-rw-r--r--Gopkg.lock1
-rw-r--r--internal/pkg/table/destination.go2
2 files changed, 2 insertions, 1 deletions
diff --git a/Gopkg.lock b/Gopkg.lock
index c406b19b..47d291bf 100644
--- a/Gopkg.lock
+++ b/Gopkg.lock
@@ -363,6 +363,7 @@
"github.com/golang/protobuf/ptypes",
"github.com/golang/protobuf/ptypes/any",
"github.com/golang/protobuf/ptypes/empty",
+ "github.com/golang/protobuf/ptypes/timestamp",
"github.com/jessevdk/go-flags",
"github.com/kr/pretty",
"github.com/satori/go.uuid",
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{