Commit 264169d1 authored by Steven Murray's avatar Steven Murray Committed by Cedric Caffy
Browse files

Fixed 'media type' bug in RequestMessage::processMediaType_Add()

parent d7ec9d21
......@@ -1215,7 +1215,7 @@ void RequestMessage::processMediaType_Add(cta::xrd::Response &response)
}
catalogue::MediaType mediaType;
mediaType.name = getRequired(OptionString::STORAGE_CLASS);
mediaType.name = getRequired(OptionString::MEDIA_TYPE);
mediaType.cartridge = getRequired(OptionString::CARTRIDGE);
mediaType.capacityInBytes = getRequired(OptionUInt64::CAPACITY);
mediaType.primaryDensityCode = getRequired(OptionUInt64::PRIMARY_DENSITY_CODE);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment