瀏覽代碼

Fix the typo

Signed-off-by: Kai Qiang Wu(Kennan) <wkqwu@cn.ibm.com>
Kai Qiang Wu(Kennan) 9 年之前
父節點
當前提交
c33cdf9ee3
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      daemon/graphdriver/btrfs/btrfs.go

+ 1 - 1
daemon/graphdriver/btrfs/btrfs.go

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