Skip to content

Commit

Permalink
fix: Fix incorrent populate call
Browse files Browse the repository at this point in the history
`populate()` is method of DeviceTree, not Blivet.
  • Loading branch information
vojtechtrefny authored and richm committed Apr 11, 2024
1 parent a70e810 commit 6471e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/blivet.py
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ def _look_up_device(self):
device.original_format._key_file = self._volume.get('encryption_key')
device.original_format.passphrase = self._volume.get('encryption_password')
if device.isleaf:
self._blivet.populate()
self._blivet.devicetree.populate()

if not device.isleaf:
device = device.children[0]
Expand Down

0 comments on commit 6471e65

Please sign in to comment.