21214: Fix lookup of file with trailing slash.
[arvados.git] / sdk / go / arvados / fs_project.go
index ed9bb0c08d6c5fa3c2004b574a76bbc26280868c..df1d06e753b35191f344499fe17c9953dc849daa 100644 (file)
@@ -35,6 +35,7 @@ func (fs *customFileSystem) projectsLoadOne(parent inode, uuid, name string) (in
                contents = CollectionList{}
                err = fs.RequestAndDecode(&contents, "GET", "arvados/v1/groups/"+uuid+"/contents", nil, ResourceListParams{
                        Count: "none",
+                       Order: "uuid",
                        Filters: []Filter{
                                {"name", "=", strings.Replace(name, subst, "/", -1)},
                                {"uuid", "is_a", []string{"arvados#collection", "arvados#group"}},