filesystem: create_partition size from gap

Previously it used the size from the spec
This commit is contained in:
Dan Bungert 2022-06-10 14:29:03 -06:00
parent 8a16a74d34
commit 19631f04ff
1 changed files with 1 additions and 1 deletions

View File

@ -79,7 +79,7 @@ class FilesystemManipulator:
def create_partition(self, device, gap, spec, **kw):
part = self.model.add_partition(
device, size=spec["size"], offset=gap.offset, **kw)
device, size=gap.size, offset=gap.offset, **kw)
self.create_filesystem(part, spec)
return part