refactor filer_pb.Entry and filer.Entry to use GetChunks()
for later locking on reading chunks
This commit is contained in:
@@ -169,7 +169,7 @@ func (fs *FilerServer) CacheRemoteObjectToLocalCluster(ctx context.Context, req
|
||||
return nil, fetchAndWriteErr
|
||||
}
|
||||
|
||||
garbage := entry.Chunks
|
||||
garbage := entry.GetChunks()
|
||||
|
||||
newEntry := entry.ShallowClone()
|
||||
newEntry.Chunks = chunks
|
||||
|
||||
Reference in New Issue
Block a user