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

@ -289,7 +289,7 @@ impl MediaPool {
let expire_time = self.inventory.media_expire_time(
media.id(), &self.media_set_policy, &self.retention);
current_time > expire_time
current_time >= expire_time
}
// check if a location is considered on site