Commit 708e59e1 authored by Cedric CAFFY's avatar Cedric CAFFY
Browse files

Tape session finished message now tells if the tape has been mounted or not...

Tape session finished message now tells if the tape has been mounted or not via the boolean wasTapeMounted
parent b5fc3302
......@@ -175,6 +175,13 @@ protected:
/** Time beetwen fineshed tape thread and finished disk threads */
const double drainingTime =
deliveryTime > totalTime?deliveryTime-totalTime: 0.0;
bool wasTapeMounted = true;
if(m_stats.mountTime == 0.0){
//Tape was not mounted, we add a message to tell that no physical mount has been
//triggered
wasTapeMounted = false;
}
paramList.push_back(Param("wasTapeMounted",wasTapeMounted));
paramList.push_back(Param("mountTime", m_stats.mountTime));
paramList.push_back(Param("positionTime", m_stats.positionTime));
paramList.push_back(Param("waitInstructionsTime", m_stats.waitInstructionsTime));
......
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