Skip to content

Commit

Permalink
fix: support recursive parameter in directory request
Browse files Browse the repository at this point in the history
  • Loading branch information
brianmcgee committed Oct 9, 2023
1 parent 943c49f commit 3ffb4ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/directory/grpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (s *service) Get(req *capb.GetDirectoryRequest, server capb.DirectoryServic
digest := store.Digest(dir.Digest)
if d, err := fetch(digest); err != nil {
return err
} else {
} else if req.Recursive {
dirs = append(dirs, d)
}
}
Expand Down

0 comments on commit 3ffb4ed

Please sign in to comment.