Skip to content

Commit

Permalink
the probe_types argument of probert.storage.Storage.probe takes a set…
Browse files Browse the repository at this point in the history
…, not a list

This means my careful code to do rich probing of block devices and fall
back to simple probing doesn't work! Oh well, at least the fix is
trivial.

Seen in the logs from this bug report:

    https://bugs.launchpad.net/ubuntu/+source/subiquity/+bug/1839529
  • Loading branch information
mwhudson committed Aug 9, 2019
1 parent 66defaa commit 8097ad6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subiquity/controllers/filesystem.py
Expand Up @@ -123,7 +123,7 @@ def _check_probe_timeout(self):
def _reprobe(self):
self._probe_state = ProbeState.REPROBING
self.run_in_bg(
lambda: self._bg_probe(["blockdev"]),
lambda: self._bg_probe({"blockdev"}),
lambda fut: self._probed(fut, True),
)

Expand Down

0 comments on commit 8097ad6

Please sign in to comment.