Browse Source

Merge pull request #6299 from sinsharat/master

store: removed duplicate method call for the same method
Xiang Li 9 years ago
parent
commit
f6cda8ac0b
1 changed files with 0 additions and 2 deletions
  1. 0 2
      store/store.go

+ 0 - 2
store/store.go

@@ -141,8 +141,6 @@ func (s *store) Get(nodePath string, recursive, sorted bool) (*Event, error) {
 		}
 	}()
 
-	nodePath = path.Clean(path.Join("/", nodePath))
-
 	n, err := s.internalGet(nodePath)
 	if err != nil {
 		return nil, err