Fix the typo
Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com> Upstream-commit: c33cdf9ee3ece0358f828c7ac8f6367c3414e67a Component: engine
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user