Merge pull request #673 from rajasec/error-typo
fixing typo in device access error
This commit is contained in:
commit
5f182ce738
2
spec.go
2
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 {
|
||||
|
|
Loading…
Reference in New Issue