summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--table/destination.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/table/destination.go b/table/destination.go
index f5d30f29..9c7b4f91 100644
--- a/table/destination.go
+++ b/table/destination.go
@@ -152,7 +152,7 @@ func (dd *Destination) ToApiStruct() *api.Destination {
ret := make([]*api.Path, 0, len(arg))
for _, p := range arg {
pp := p.ToApiStruct()
- if dd.GetBestPath().Equal(p) {
+ if dd.GetBestPath() == p {
pp.Best = true
}
ret = append(ret, pp)