summaryrefslogtreecommitdiffhomepage
path: root/internal/pkg/table/path.go
diff options
context:
space:
mode:
authorwanghonghao <wanghonghao@bytedance.com>2018-07-16 12:10:56 +0800
committerwanghonghao <wanghonghao@bytedance.com>2018-07-16 12:10:56 +0800
commit695fb5298edf8f912a9d11922e96f23c6464ba58 (patch)
tree7171b7914009362c670814a63c42fcbc7de35b7b /internal/pkg/table/path.go
parente64870d816ebf8cf556c06ab1f5e70f1ec74a232 (diff)
use function Equal() instead of build-in compare
Diffstat (limited to 'internal/pkg/table/path.go')
-rw-r--r--internal/pkg/table/path.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pkg/table/path.go b/internal/pkg/table/path.go
index 14bbe6ae..d6407882 100644
--- a/internal/pkg/table/path.go
+++ b/internal/pkg/table/path.go
@@ -984,7 +984,7 @@ func (lhs *Path) Equal(rhs *Path) bool {
return false
}
- if lhs.GetSource() != rhs.GetSource() {
+ if !lhs.GetSource().Equal(rhs.GetSource()) {
return false
}