Commit d098b53f authored by Daniele Kruse's avatar Daniele Kruse
Browse files

removed unused _old_getNextMount

parent 0d7ccf59
......@@ -269,11 +269,3 @@ std::list<cta::common::dataStructures::DriveState> cta::Scheduler::getDriveState
std::unique_ptr<cta::TapeMount> cta::Scheduler::getNextMount(const std::string &logicalLibraryName, const std::string &driveName) {
return std::unique_ptr<TapeMount>();
}
//------------------------------------------------------------------------------
// getNextMount
//------------------------------------------------------------------------------
std::unique_ptr<cta::TapeMount> cta::Scheduler::_old_getNextMount(const std::string &logicalLibraryName, const std::string & driveName) {
throw cta::exception::Exception(std::string(__FUNCTION__)+" Error: not implemented!");
return std::unique_ptr<TapeMount>();
}
......@@ -114,8 +114,6 @@ public:
virtual std::unique_ptr<TapeMount> getNextMount(const std::string &logicalLibraryName, const std::string &driveName);
virtual std::unique_ptr<TapeMount> _old_getNextMount(const std::string &logicalLibraryName, const std::string & driveName);
virtual void authorizeCliIdentity(const cta::common::dataStructures::SecurityIdentity &cliIdentity);
private:
......
......@@ -87,7 +87,7 @@ castor::tape::tapeserver::daemon::Session::EndOfSessionAction
// 2a) Get initial information from the client
std::unique_ptr<cta::TapeMount> tapeMount;
try {
tapeMount.reset(m_scheduler._old_getNextMount(m_driveConfig.getLogicalLibrary(), m_driveConfig.getUnitName()).release());
tapeMount.reset(m_scheduler.getNextMount(m_driveConfig.getLogicalLibrary(), m_driveConfig.getUnitName()).release());
} catch (cta::exception::Exception & e) {
log::ScopedParamContainer localParams(lc);
localParams.add("errorMessage", e.getMessageValue());
......
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