Skip to content

Commit

Permalink
Chage listtree for list in URL
Browse files Browse the repository at this point in the history
  • Loading branch information
labkode committed May 8, 2016
1 parent 92c8029 commit 95f6f02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metadata.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func (s *metaDataService) ExamineObject(pathSpec string) (*entities.ObjectInfo,

func (s *metaDataService) ListTree(pathSpec string) ([]*entities.ObjectInfo, *codes.Response, error) {
pathSpec = path.Join("/", pathSpec)
req, err := s.client.newRequest("GET", "listtree"+pathSpec, nil)
req, err := s.client.newRequest("GET", "list"+pathSpec, nil)
if err != nil {
return nil, nil, err
}
Expand Down

0 comments on commit 95f6f02

Please sign in to comment.