Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
dCache
cta
Commits
d098b53f
Commit
d098b53f
authored
Mar 30, 2016
by
Daniele Kruse
Browse files
removed unused _old_getNextMount
parent
0d7ccf59
Changes
3
Hide whitespace changes
Inline
Side-by-side
scheduler/Scheduler.cpp
View file @
d098b53f
...
...
@@ -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
>
();
}
scheduler/Scheduler.hpp
View file @
d098b53f
...
...
@@ -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:
...
...
tapeserver/castor/tape/tapeserver/daemon/DataTransferSession.cpp
View file @
d098b53f
...
...
@@ -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
());
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment