Merge pull request #20343 from HackToday/fixpara

Fix the typo
Upstream-commit: 957bdd9df901ea3de9f7fdf28b0bdc74a040fadd
Component: engine
This commit is contained in:
Sebastiaan van Stijn
2016-02-16 11:14:57 +01:00

View File

@ -262,7 +262,7 @@ func (d *Driver) Create(id, parent, mountLabel string) error {
return err
}
if !st.IsDir() {
return fmt.Errorf("%s: not a direcotory", parentDir)
return fmt.Errorf("%s: not a directory", parentDir)
}
if err := subvolSnapshot(parentDir, subvolumes, id); err != nil {
return err