(cli *client.Client, containerID string, command []string)
| 1485 | } |
| 1486 | |
| 1487 | func runContainerCommand(cli *client.Client, containerID string, command []string) (string, error) { |
| 1488 | raw, err := runContainerCommandRaw(cli, containerID, command) |
| 1489 | if err != nil { |
| 1490 | return "", err |
| 1491 | } |
| 1492 | return strings.TrimSpace(string(raw)), nil |
| 1493 | } |
| 1494 | |
| 1495 | type closeHookReader struct { |
| 1496 | io.ReadCloser |
no test coverage detected