2
2
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:
Alexander Neumann 2017-04-02 20:28:42 +02:00
parent e3e3a8a695
commit c5eb36fe9d

View File

@ -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