1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Fix the typo

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
This commit is contained in:
Kai Qiang Wu(Kennan) 2016-02-16 06:59:56 +00:00
parent b16536aeb5
commit c33cdf9ee3

View file

@ -262,7 +262,7 @@ func (d *Driver) Create(id, parent, mountLabel string) error {
return err return err
} }
if !st.IsDir() { 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 { if err := subvolSnapshot(parentDir, subvolumes, id); err != nil {
return err return err