This commit is contained in:
Chris Lu
2021-07-31 23:52:09 -07:00
parent 9df7d16791
commit 767edd3c08
2 changed files with 2 additions and 2 deletions

View File

@@ -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
}