Commit c4e40816 authored by Steven Murray's avatar Steven Murray
Browse files

Fixed the wait down state of the catalogue drive

parent 7ff38ef8
......@@ -394,6 +394,7 @@ void castor::tape::tapeserver::daemon::CatalogueDrive::configureUp() {
void castor::tape::tapeserver::daemon::CatalogueDrive::configureDown() {
switch(m_state) {
case DRIVE_STATE_DOWN:
case DRIVE_STATE_WAITDOWN:
break;
case DRIVE_STATE_UP:
changeState(DRIVE_STATE_DOWN);
......@@ -406,7 +407,7 @@ void castor::tape::tapeserver::daemon::CatalogueDrive::configureDown() {
{
castor::exception::Exception ex;
ex.getMessage() << "Failed to configure tape drive " << m_config.unitName
<< " down: " << ": Incompatible drive state: state=" <<
<< " down: Incompatible drive state: state=" <<
driveStateToStr(m_state);
throw ex;
}
......
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