fix libcontainer example

Signed-off-by: yaozhenxiu <946666800@qq.com>
This commit is contained in:
yaozhenxiu
2022-11-11 14:50:21 +08:00
parent f264cf91fa
commit 313723fd5f
+1 -1
View File
@@ -45,7 +45,7 @@ struct describing how the container is to be created. A sample would look simila
```go
defaultMountFlags := unix.MS_NOEXEC | unix.MS_NOSUID | unix.MS_NODEV
var devices []*configs.DeviceRule
var devices []*devices.Rule
for _, device := range specconv.AllowedDevices {
devices = append(devices, &device.Rule)
}