From 945ef1d51f371c30092ea32a92ef4998b49ea68c Mon Sep 17 00:00:00 2001 From: rajasec Date: Mon, 21 Mar 2016 20:19:06 +0530 Subject: [PATCH] fixing typo in device access error Signed-off-by: rajasec fixing typo in device access error Signed-off-by: rajasec Fixed review comments Signed-off-by: rajasec --- spec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec.go b/spec.go index 93cc2884..471171f8 100644 --- a/spec.go +++ b/spec.go @@ -385,7 +385,7 @@ func createCgroupConfig(name string, spec *specs.Spec) (*configs.Cgroup, error) minor = *d.Minor } if d.Access == nil || *d.Access == "" { - return nil, fmt.Errorf("device access at %d field canot be empty", i) + return nil, fmt.Errorf("device access at %d field cannot be empty", i) } dt, err := stringToDeviceRune(t) if err != nil {