Skip to content
Snippets Groups Projects
Commit ca7d8dd9 authored by Jorge Camarero Vera's avatar Jorge Camarero Vera
Browse files

Resolve "Set next mount type to NoMount when a tape drive is set down."

parent b3b4703b
Branches
Tags
No related merge requests found
Pipeline #80953 failed
......@@ -12,6 +12,7 @@
- cta/CTA#500 - Safely handle empty shards in object store
- cta/CTA#501 - Report max requests to expand in cta-admin command
- cta/CTA#509 - Avoid looping in cleaning up state
- cta/CTA#512 - Set next mount type to NoMount when a tape drive is set down
### Features
- cta/CTA#490 - Improve code quality in the Physical Library catalogue code
......
......@@ -191,6 +191,7 @@ void TapeDrivesCatalogueState::setDriveDown(common::dataStructures::TapeDrive &
driveState.shutdownTime = std::nullopt;
driveState.lastModificationLog = common::dataStructures::EntryLog("NO_USER", driveState.host, inputs.reportTime);
driveState.mountType = common::dataStructures::MountType::NoMount;
driveState.nextMountType = common::dataStructures::MountType::NoMount;
driveState.driveStatus = common::dataStructures::DriveStatus::Down;
driveState.desiredUp = false;
driveState.desiredForceDown = false;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment