From 8fa674e1a30516013c3499ece773e10c279ff00c Mon Sep 17 00:00:00 2001 From: Steven Murray <steven.murray@cern.ch> Date: Thu, 4 Aug 2016 10:00:54 +0200 Subject: [PATCH] Deleted obsolete method Scheduler::setTapeBusy() --- scheduler/Scheduler.cpp | 7 ------- scheduler/Scheduler.hpp | 1 - 2 files changed, 8 deletions(-) diff --git a/scheduler/Scheduler.cpp b/scheduler/Scheduler.cpp index 1398b27441..693c22afe7 100644 --- a/scheduler/Scheduler.cpp +++ b/scheduler/Scheduler.cpp @@ -171,13 +171,6 @@ void cta::Scheduler::labelTape(const cta::common::dataStructures::SecurityIdenti throw cta::exception::Exception(std::string("Not implemented: ") + __PRETTY_FUNCTION__); } -//------------------------------------------------------------------------------ -// setTapeBusy -//------------------------------------------------------------------------------ -void cta::Scheduler::setTapeBusy(const std::string &vid, const bool busyValue) { - throw cta::exception::Exception(std::string("Not implemented: ") + __PRETTY_FUNCTION__); -} - //------------------------------------------------------------------------------ // setTapeFull //------------------------------------------------------------------------------ diff --git a/scheduler/Scheduler.hpp b/scheduler/Scheduler.hpp index 65bdd5c862..6690882743 100644 --- a/scheduler/Scheduler.hpp +++ b/scheduler/Scheduler.hpp @@ -121,7 +121,6 @@ public: virtual std::list<cta::common::dataStructures::StorageClass> listStorageClass(const std::string &instanceName, const cta::common::dataStructures::ListStorageClassRequest &request); virtual void labelTape(const cta::common::dataStructures::SecurityIdentity &cliIdentity, const std::string &vid, const bool force, const bool lbp, const optional<std::string> &tag); - virtual void setTapeBusy(const std::string &vid, const bool busyValue); // internal function not exposed to the Admin CLI virtual void setTapeFull(const cta::common::dataStructures::SecurityIdentity &cliIdentity, const std::string &vid, const bool fullValue); virtual void setTapeDisabled(const cta::common::dataStructures::SecurityIdentity &cliIdentity, const std::string &vid, const bool disabledValue); virtual void setTapeLbp(const std::string &vid, const bool lbpValue); // internal function (noCLI) -- GitLab