Skip to content

Commit a10a84d

Browse files
committed
Fix build
1 parent 5e2a022 commit a10a84d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Disks/ObjectStorages/IObjectStorage.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ std::string RelativePathWithMetadata::CommandInTaskResponse::to_string() const
149149
}
150150

151151

152-
void RelativePathWithMetadata::loadMetadata(ObjectStoragePtr object_storage)
152+
void RelativePathWithMetadata::loadMetadata(ObjectStoragePtr object_storage, bool ignore_non_existent_file)
153153
{
154154
if (!metadata)
155155
{
156156
const auto & path = isArchive() ? getPathToArchive() : getPath();
157157

158-
if (query_settings.ignore_non_existent_file)
158+
if (ignore_non_existent_file)
159159
metadata = object_storage->tryGetObjectMetadata(path);
160160
else
161161
metadata = object_storage->getObjectMetadata(path);

src/Disks/ObjectStorages/IObjectStorage.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ struct RelativePathWithMetadata
175175

176176
const CommandInTaskResponse & getCommand() const { return command; }
177177

178-
void loadMetadata(ObjectStoragePtr object_storage);
178+
void loadMetadata(ObjectStoragePtr object_storage, bool ignore_non_existent_file = true);
179179
};
180180

181181
struct ObjectKeyWithMetadata

0 commit comments

Comments
 (0)