()
| 101 | } |
| 102 | |
| 103 | func (h *rawContainerHandler) GetRootNetworkDevices() ([]info.NetInfo, error) { |
| 104 | nd := []info.NetInfo{} |
| 105 | if isRootCgroup(h.name) { |
| 106 | mi, err := h.machineInfoFactory.GetMachineInfo() |
| 107 | if err != nil { |
| 108 | return nd, err |
| 109 | } |
| 110 | return mi.NetworkDevices, nil |
| 111 | } |
| 112 | return nd, nil |
| 113 | } |
| 114 | |
| 115 | // Nothing to start up. |
| 116 | func (h *rawContainerHandler) Start() {} |
no test coverage detected