Commit dbca2834 authored by Jozsef Makai's avatar Jozsef Makai

MGM: removing useless check in archived wlock

parent 9899ffe5
Pipeline #401061 passed with stages
in 62 minutes and 30 seconds
......@@ -1967,9 +1967,7 @@ WFE::Job::DoIt(bool issync)
{
eos::common::RWMutexWriteLock lock(gOFS->eosViewRWMutex);
if (!fmd->hasLocation(TAPE_FS_ID)) {
fmd->addLocation(TAPE_FS_ID);
}
fmd->addLocation(TAPE_FS_ID);
// Reset the error message
fmd->setAttribute(ARCHIVE_ERROR_ATTR_NAME, "");
......
Markdown is supported
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