Commit f88d595
committed
Improve error message when pool was not destroyed/created
This is idempotency related; if a pool does not exist, stratisd will
return success if the user requests that it be destroyed. The CLI wants
to return an error, so it detects lack of change. This change makes the
error message a bit more clear.
Signed-off-by: mulhern <[email protected]>1 parent 1f6c701 commit f88d595
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
| 252 | + | |
| 253 | + | |
253 | 254 | | |
254 | 255 | | |
255 | 256 | | |
| |||
478 | 479 | | |
479 | 480 | | |
480 | 481 | | |
481 | | - | |
482 | | - | |
483 | | - | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
484 | 486 | | |
485 | 487 | | |
486 | 488 | | |
| |||
0 commit comments