This commit is contained in:
Chris Lu
2021-01-14 23:11:27 -08:00
parent f002e668de
commit 16ad74f477
5 changed files with 7 additions and 7 deletions

View File

@@ -201,7 +201,7 @@ func (store *CassandraStore) ListDirectoryEntries(ctx context.Context, dirPath u
glog.V(0).Infof("list iterator close: %v", err)
}
hasMore = int64(len(entries)) == limit + 1
hasMore = int64(len(entries)) == limit+1
if hasMore {
entries = entries[:limit]
}