Merge pull request #992 from baude/cri_tests_sec
Initial fixes for cri-tests
This commit is contained in:
commit
7b9a5c259e
3 changed files with 12 additions and 14 deletions
|
@ -146,7 +146,7 @@ func resolveSymbolicLink(path string) (string, error) {
|
|||
|
||||
func addDevices(sb *sandbox.Sandbox, containerConfig *pb.ContainerConfig, specgen *generate.Generator) error {
|
||||
sp := specgen.Spec()
|
||||
if containerConfig.GetLinux().GetSecurityContext().Privileged {
|
||||
if containerConfig.GetLinux().GetSecurityContext().GetPrivileged() {
|
||||
hostDevices, err := devices.HostDevices()
|
||||
if err != nil {
|
||||
return err
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue