From c33cdf9ee3ece0358f828c7ac8f6367c3414e67a Mon Sep 17 00:00:00 2001 From: "Kai Qiang Wu(Kennan)" Date: Tue, 16 Feb 2016 06:59:56 +0000 Subject: [PATCH] Fix the typo Signed-off-by: Kai Qiang Wu(Kennan) --- daemon/graphdriver/btrfs/btrfs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/graphdriver/btrfs/btrfs.go b/daemon/graphdriver/btrfs/btrfs.go index 48388f72fe..5ca86a5b6f 100644 --- a/daemon/graphdriver/btrfs/btrfs.go +++ b/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