Skip to content

Commit

Permalink
Do not return the space root if it wasn't requested
Browse files Browse the repository at this point in the history
  • Loading branch information
aduffeck committed Jun 30, 2023
1 parent d56e251 commit 09e9d57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/storage/utils/decomposedfs/decomposedfs.go
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ func (fs *Decomposedfs) GetMD(ctx context.Context, ref *provider.Reference, mdKe
return nil, err
}

addSpace := len(fieldMask) == 0
addSpace := false
for _, p := range fieldMask {
if p == "space" || p == "*" {
addSpace = true
Expand Down

0 comments on commit 09e9d57

Please sign in to comment.