diff options
author | wanghonghao <wanghonghao@bytedance.com> | 2018-07-16 12:10:56 +0800 |
---|---|---|
committer | wanghonghao <wanghonghao@bytedance.com> | 2018-07-16 12:10:56 +0800 |
commit | 695fb5298edf8f912a9d11922e96f23c6464ba58 (patch) | |
tree | 7171b7914009362c670814a63c42fcbc7de35b7b /internal | |
parent | e64870d816ebf8cf556c06ab1f5e70f1ec74a232 (diff) |
use function Equal() instead of build-in compare
Diffstat (limited to 'internal')
-rw-r--r-- | internal/pkg/table/path.go | 2 |
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 } |