21214: Permit filter groups to match filter groups but avoid cycles.
[arvados.git] / sdk / go / arvados / fs_collection.go
index 84ff69d6bd0ad16b053fd9ab6409fc04ee5c3024..052cc1aa37581aca2351200c5444304ce912571c 100644 (file)
@@ -457,7 +457,7 @@ func (fs *collectionFileSystem) Sync() error {
 }
 
 func (fs *collectionFileSystem) Flush(path string, shortBlocks bool) error {
-       node, err := rlookup(fs.fileSystem.root, path)
+       node, err := rlookup(fs.fileSystem.root, path, nil)
        if err != nil {
                return err
        }