diff --git a/castor/tape/tapegateway/daemon/VdqmRequestsProducerThread.cpp b/castor/tape/tapegateway/daemon/VdqmRequestsProducerThread.cpp index 37a15dc951864d183865ea41ef47260d94fa5158..69bc76abdd4d345d7bebae2897d730852ddf2ecd 100644 --- a/castor/tape/tapegateway/daemon/VdqmRequestsProducerThread.cpp +++ b/castor/tape/tapegateway/daemon/VdqmRequestsProducerThread.cpp @@ -219,7 +219,7 @@ void castor::tape::tapegateway::VdqmRequestsProducerThread::sendToVDQM // connect to vdqm and submit the request vdqmHelper.connectToVdqm(); mountTransactionId = vdqmHelper.createRequestForAggregator - (vid, dgn, WRITE_DISABLE, m_port, vdqmPriority); + (vid, dgn, mode, m_port, vdqmPriority); // set mountTransactionId in the RecallMount oraSvc->attachDriveReq(vid, mountTransactionId, mode, label, density); // confirm to vdqm