Skip to content
Snippets Groups Projects
Commit 215bd738 authored by mvelosob's avatar mvelosob
Browse files

Allow listing tape files by disk instance (#1021)

parent 843681a2
No related branches found
No related tags found
No related merge requests found
......@@ -94,8 +94,7 @@ TapeFileLsStream::TapeFileLsStream(const RequestMessage &requestMsg,
}
searchCriteria.diskFileIds->push_back(std::to_string(fid));
}
// Disk instance on its own does not give a valid set of search criteria (no &has_any)
searchCriteria.diskInstance = requestMsg.getOptional(OptionString::INSTANCE);
searchCriteria.diskInstance = requestMsg.getOptional(OptionString::INSTANCE, &has_any);
searchCriteria.archiveFileId = requestMsg.getOptional(OptionUInt64::ARCHIVE_FILE_ID, &has_any);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment