mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 15:11:16 +01:00
zfs: was not returning error on invalid dataset path
This commit is contained in:
parent
aab43af27c
commit
8934d7cb64
@ -205,7 +205,7 @@ func ZFSListFilesystemState() (localState map[string]FilesystemState, err error)
|
||||
for _, e := range actual {
|
||||
dp, err := NewDatasetPath(e[0])
|
||||
if err != nil {
|
||||
fmt.Errorf("ZFS does not return parseable dataset path: %s", e[0])
|
||||
return nil, fmt.Errorf("ZFS does not return parseable dataset path: %s", e[0])
|
||||
}
|
||||
placeholder, _ := IsPlaceholder(dp, e[1])
|
||||
localState[e[0]] = FilesystemState{
|
||||
|
Loading…
Reference in New Issue
Block a user