aboutsummaryrefslogtreecommitdiff
path: root/weed/filer
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2021-07-31 23:52:09 -0700
committerChris Lu <chris.lu@gmail.com>2021-07-31 23:52:09 -0700
commit767edd3c0802f3e22d6aef4e75f0e8805b748617 (patch)
tree06b1967f88cf32a6ac9ce259a0dc287b70b7a9f4 /weed/filer
parent9df7d16791351f85ecb364b4b11caca1ee9bcd59 (diff)
downloadseaweedfs-767edd3c0802f3e22d6aef4e75f0e8805b748617.tar.xz
seaweedfs-767edd3c0802f3e22d6aef4e75f0e8805b748617.zip
rename
Diffstat (limited to 'weed/filer')
-rw-r--r--weed/filer/read_remote.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filer/read_remote.go b/weed/filer/read_remote.go
index 26e220445..d9423ceda 100644
--- a/weed/filer/read_remote.go
+++ b/weed/filer/read_remote.go
@@ -5,7 +5,7 @@ import (
"github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
)
-func (entry *Entry) IsRemoteOnly() bool {
+func (entry *Entry) IsInRemoteOnly() bool {
return len(entry.Chunks) == 0 && entry.Remote != nil && entry.Remote.Size > 0
}