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 /internal/pkg/table/destination.go | |
parent | 79a461c147ed58150a3d6653fb3440fe24018c8a (diff) |
minor cleanup: update Gopkg.lock and erase redundant nil set
Diffstat (limited to 'internal/pkg/table/destination.go')
-rw-r--r-- | internal/pkg/table/destination.go | 2 |
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{ |