Merge pull request #673 from rajasec/error-typo

fixing typo in device access error
This commit is contained in:
Mrunal Patel 2016-03-22 14:16:33 -07:00
commit 5f182ce738
1 changed files with 1 additions and 1 deletions

View File

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