mirror of
https://github.com/opencontainers/runc.git
synced 2025-09-27 03:46:19 +08:00
fixing typo in device access error
Signed-off-by: rajasec <rajasec79@gmail.com> fixing typo in device access error Signed-off-by: rajasec <rajasec79@gmail.com> Fixed review comments Signed-off-by: rajasec <rajasec79@gmail.com>
This commit is contained in:
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 {
|
||||
|
Reference in New Issue
Block a user