diff options
author | Sergey Elantsev <elantsev.s@yandex.ru> | 2018-11-24 12:56:21 +0300 |
---|---|---|
committer | Sergey Elantsev <elantsev.s@yandex.ru> | 2018-11-24 12:56:21 +0300 |
commit | a6aaf556128cf681c28e9ad4673c127e24dd9629 (patch) | |
tree | 311dd281945b47cd6c2b01e1446cb5983728fbcb | |
parent | 79a461c147ed58150a3d6653fb3440fe24018c8a (diff) |
minor cleanup: update Gopkg.lock and erase redundant nil set
-rw-r--r-- | Gopkg.lock | 1 | ||||
-rw-r--r-- | internal/pkg/table/destination.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -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{ |