rio: fix size comparison in
Signed-off-by: Robert Baldyga <robert.baldyga@intel.com>
This commit is contained in:
parent
cd0551e72e
commit
765d1c5d77
@ -134,7 +134,7 @@ class Rio:
|
||||
if self.jobspec.time_based:
|
||||
self.finish_time = datetime.now() + self.jobspec.time
|
||||
else:
|
||||
if self.jobspec.io_size != 0:
|
||||
if int(self.jobspec.io_size) != 0:
|
||||
self.io_target = min(
|
||||
self.jobspec.io_size, self.jobspec.size - self.jobspec.offset
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user