the probe_types argument of probert.storage.Storage.probe takes a set, 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
This commit is contained in:
parent
66defaa5ad
commit
8097ad62bf
|
@ -123,7 +123,7 @@ class FilesystemController(BaseController):
|
||||||
def _reprobe(self):
|
def _reprobe(self):
|
||||||
self._probe_state = ProbeState.REPROBING
|
self._probe_state = ProbeState.REPROBING
|
||||||
self.run_in_bg(
|
self.run_in_bg(
|
||||||
lambda: self._bg_probe(["blockdev"]),
|
lambda: self._bg_probe({"blockdev"}),
|
||||||
lambda fut: self._probed(fut, True),
|
lambda fut: self._probed(fut, True),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue