diff --git a/accounts/pkg/indexer/index/disk/unique.go b/accounts/pkg/indexer/index/disk/unique.go index 6f1191efd..ed917cbd0 100644 --- a/accounts/pkg/indexer/index/disk/unique.go +++ b/accounts/pkg/indexer/index/disk/unique.go @@ -90,10 +90,6 @@ func (idx Unique) Add(id, v string) (string, error) { // Remove a value v from an index. func (idx Unique) Remove(id string, v string) (err error) { searchPath := path.Join(idx.indexRootDir, v) - if err = isValidSymlink(searchPath); err != nil { - return - } - return os.Remove(searchPath) }