Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions src/stratis_cli/_actions/_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ def create_pool(namespace: Namespace): # pylint: disable=too-many-locals
raise StratisCliIncoherenceError(
(
f"Expected to create the specified pool {pool_name} but stratisd "
f"reports that it did not actually create the pool"
"reports that it did not actually create the pool because "
f"a pool with name {pool_name} already exists."
)
)

Expand Down Expand Up @@ -478,9 +479,10 @@ def destroy_pool(namespace: Namespace):
if not changed: # pragma: no cover
raise StratisCliIncoherenceError(
(
f"Expected to destroy the specified pool {namespace.pool_name} but "
f"stratisd reports that it did not actually "
f"destroy the pool requested"
"Expected to destroy the specified pool "
f"{namespace.pool_name} but stratisd reports that it did "
"not actually destroy the pool because no pool named "
f"{namespace.pool_name} was found."
)
)

Expand Down
Loading