diff options
Diffstat (limited to 'weed/filer/read_remote.go')
| -rw-r--r-- | weed/filer/read_remote.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/read_remote.go b/weed/filer/read_remote.go index cf0d8cbee..992d1e95a 100644 --- a/weed/filer/read_remote.go +++ b/weed/filer/read_remote.go @@ -8,7 +8,7 @@ import ( ) func (entry *Entry) IsInRemoteOnly() bool { - return len(entry.Chunks) == 0 && entry.Remote != nil && entry.Remote.RemoteSize > 0 + return len(entry.GetChunks()) == 0 && entry.Remote != nil && entry.Remote.RemoteSize > 0 } func MapFullPathToRemoteStorageLocation(localMountedDir util.FullPath, remoteMountedLocation *remote_pb.RemoteStorageLocation, fp util.FullPath) *remote_pb.RemoteStorageLocation { |
