(containerID string)
| 543 | } |
| 544 | |
| 545 | func (s Service) removeRuntime(containerID string) error { |
| 546 | if s.Driver != nil { |
| 547 | return s.Driver.Remove(context.Background(), containerID) |
| 548 | } |
| 549 | return fmt.Errorf("runtime driver is required") |
| 550 | } |
| 551 | |
| 552 | func (s Service) setContainerCPUProfile(runID, sessionID, containerID, profile string) error { |
| 553 | weight, normalized, err := cpuWeightForProfile(profile) |