mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 19:38:57 +00:00
layout: improve error message for ParseLayout
This commit is contained in:
parent
e3e3a8a695
commit
c5eb36fe9d
@ -199,7 +199,7 @@ func ParseLayout(repo Filesystem, layout, defaultLayout, path string) (l Layout,
|
||||
return ParseLayout(repo, defaultLayout, "", path)
|
||||
}
|
||||
default:
|
||||
return nil, errors.Errorf("unknown backend layout string %q, may be one of default/cloud/s3", layout)
|
||||
return nil, errors.Errorf("unknown backend layout string %q, may be one of: default, cloud, s3", layout)
|
||||
}
|
||||
|
||||
return l, nil
|
||||
|
Loading…
Reference in New Issue
Block a user