libcontainer/devices: remove "Device" prefix from types

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn
2020-11-19 10:59:17 +01:00
parent 677baf22d2
commit 4fc2de77e9
17 changed files with 219 additions and 219 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"golang.org/x/sys/unix"
)
func (d *DeviceRule) Mkdev() (uint64, error) {
func (d *Rule) Mkdev() (uint64, error) {
if d.Major == Wildcard || d.Minor == Wildcard {
return 0, errors.New("cannot mkdev() device with wildcards")
}