(ctx context.Context, dockerCLI command.Cli, containerID string)
| 29 | } |
| 30 | |
| 31 | func runDiff(ctx context.Context, dockerCLI command.Cli, containerID string) error { |
| 32 | res, err := dockerCLI.Client().ContainerDiff(ctx, containerID, client.ContainerDiffOptions{}) |
| 33 | if err != nil { |
| 34 | return err |
| 35 | } |
| 36 | diffCtx := formatter.Context{ |
| 37 | Output: dockerCLI.Out(), |
| 38 | Format: newDiffFormat("{{.Type}} {{.Path}}"), |
| 39 | } |
| 40 | return diffFormatWrite(diffCtx, res) |
| 41 | } |
no test coverage detected
searching dependent graphs…