This commit is contained in:
Daniil Rubin 2022-09-02 07:11:47 +00:00 committed by Daniil Rubin
parent 4cc397da84
commit 616b72d665

View File

@ -93,7 +93,7 @@ void JsonMetadataGetter::Init() {
LOG_DEBUG(log, "Timestamp {}", timestamp); LOG_DEBUG(log, "Timestamp {}", timestamp);
} else if (json.has("remove")) { } else if (json.has("remove")) {
auto path = json["remove"]["path"].getString(); auto path = json["remove"]["path"].getString();
auto timestamp = json["remove"]["modificationTime"].getInt(); auto timestamp = json["remove"]["deletionTimestamp"].getInt();
metadata.remove(path, timestamp); metadata.remove(path, timestamp);