fix: black
This commit is contained in:
+7
-1
@@ -281,7 +281,13 @@ class ZFS:
|
|||||||
)
|
)
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def scrub(cls, pool: Pool, *, skip_if_recently_scrubbed: bool, wait_for_finish: bool = True) -> None:
|
def scrub(
|
||||||
|
cls,
|
||||||
|
pool: Pool,
|
||||||
|
*,
|
||||||
|
skip_if_recently_scrubbed: bool,
|
||||||
|
wait_for_finish: bool = True,
|
||||||
|
) -> None:
|
||||||
if not isinstance(pool, Pool):
|
if not isinstance(pool, Pool):
|
||||||
raise TypeError("Can only scrub pools.")
|
raise TypeError("Can only scrub pools.")
|
||||||
cls._scrub_if_necessary(pool, skip_if_recently_scrubbed)
|
cls._scrub_if_necessary(pool, skip_if_recently_scrubbed)
|
||||||
|
|||||||
Reference in New Issue
Block a user