Add parent to system metadata

Previously this caused spurious test failures.
This commit is contained in:
Andrew Gaul 2017-10-28 11:06:38 -07:00
parent 17c8e31546
commit 48a8400c3f
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ import com.google.common.collect.Maps;
public class ParseUserMetadataFromHeaders implements Function<HttpResponse, UserMetadata> { public class ParseUserMetadataFromHeaders implements Function<HttpResponse, UserMetadata> {
private static final Set<String> SYS_KEYS = ImmutableSet.of( private static final Set<String> SYS_KEYS = ImmutableSet.of(
"atime", "ctime", "gid", "itime", "mtime", "nlink", "atime", "ctime", "gid", "itime", "mtime", "nlink",
"parent",
"policyname", "size", "uid", "content-md5", "objectid", "objname", "type"); "policyname", "size", "uid", "content-md5", "objectid", "objname", "type");
public UserMetadata apply(HttpResponse from) { public UserMetadata apply(HttpResponse from) {