Skip to content

Commit

Permalink
fixing typo in device access error
Browse files Browse the repository at this point in the history
Signed-off-by: rajasec <rajasec79@gmail.com>

fixing typo in device access error

Signed-off-by: rajasec <rajasec79@gmail.com>
  • Loading branch information
rajasec committed Mar 21, 2016
1 parent 69f8a50 commit e9e754f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 can not be empty", i)
}
dt, err := stringToDeviceRune(t)
if err != nil {
Expand Down

0 comments on commit e9e754f

Please sign in to comment.