add: todos
This commit is contained in:
@@ -272,6 +272,7 @@ class ZFS:
|
|||||||
# -u File system that is associated with the received stream is not mounted.
|
# -u File system that is associated with the received stream is not mounted.
|
||||||
if not isinstance(pool, Pool):
|
if not isinstance(pool, Pool):
|
||||||
raise TypeError("Can only receive into pools.")
|
raise TypeError("Can only receive into pools.")
|
||||||
|
# TODO use internal functions
|
||||||
check_output(
|
check_output(
|
||||||
[config.ZFS, "receive", "-d", "-F", "-u", pool.name],
|
[config.ZFS, "receive", "-d", "-F", "-u", pool.name],
|
||||||
stdin=stream.stdout,
|
stdin=stream.stdout,
|
||||||
|
|||||||
Reference in New Issue
Block a user