tape: fix wrong media set expire time

This commit is contained in:
Dietmar Maurer
2021-03-04 12:36:45 +01:00
parent ab77d660cc
commit 1bed3aedc8
3 changed files with 5 additions and 7 deletions

View File

@ -513,7 +513,7 @@ impl Inventory {
}
}
MediaSetPolicy::AlwaysCreate => {
set_start_time + 1
set_start_time
}
MediaSetPolicy::CreateAt(ref event) => {
match compute_next_event(event, set_start_time, false) {