Sunil Mohan Adapa 0f484d7eaa
snapshot: Fix issue with snapshot rollbacks
Closes: #2144.

- '--ambit' seems to a required argument if there is no default subvolume set on
the filesystem. Add it to prevent error during rollback.

- Description is not a required option for rollback (anymore?) and default
descriptions for the two snapshots are more descriptive.

Tests:

- On a fresh vagrant machine, run snapshot rollback with the patch. It fails.
With the patch, rollback succeeds.

- The description created for the rollback is the default one 'rollback backup'
and 'writable copy of #x'.

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2023-02-08 21:10:54 -05:00
..
2022-08-15 10:36:29 -04:00
2022-12-29 11:12:46 -08:00
2022-08-29 21:06:54 -04:00
2022-08-15 10:36:29 -04:00
2022-08-29 08:29:03 -04:00
2022-08-15 10:36:29 -04:00
2022-11-04 14:41:32 -07:00