Migration command doesn't error when path is incorrect
Open
Type:Bug
- Dominant language
- Go
- Stars
- 2.1k
- Forks
- 274
- Avg merge
- 2d 1h
- Merged PRs (30d)
- 103
Description
The decomposedfs migration command
```
ocis migrate decomposedfs -r .ocis/storage/users
```
does not error when a wrong path is entered. Instead it reports success.
The decomposedfs migration list command
```
ocis migrate decomposedfs -r ../.ocis/storage/users list
```
does also not error when the path is incorrect, instead it reports `pending` status for all migrations
This can be very confusing for the user as they see a succeeded migration but the list command reports something else.
Both commands should error if the given path is not a decomposedfs root.
Contributor guide
Assessment
This issue has not been assessed yet.