(config *configs.Config)
| 1096 | } |
| 1097 | |
| 1098 | func unlockNetwork(config *configs.Config) error { |
| 1099 | for _, config := range config.Networks { |
| 1100 | strategy, err := getStrategy(config.Type) |
| 1101 | if err != nil { |
| 1102 | return err |
| 1103 | } |
| 1104 | if err = strategy.attach(config); err != nil { |
| 1105 | return err |
| 1106 | } |
| 1107 | } |
| 1108 | return nil |
| 1109 | } |
| 1110 | |
| 1111 | func (c *Container) criuNotifications(resp *criurpc.CriuResp, process *Process, cmd *exec.Cmd, opts *CriuOpts, fds []string, oob []byte) error { |
| 1112 | notify := resp.GetNotify() |
no test coverage detected
searching dependent graphs…