Merge pull request #6271 from fuweid/move_stdout_to_stderr
ctr/snapshots/diff: show media-type in stderr
This commit is contained in:
commit
9e7910ebdc
@ -133,8 +133,6 @@ var diffCommand = cli.Command{
|
|||||||
labels := commands.LabelArgs(context.StringSlice("label"))
|
labels := commands.LabelArgs(context.StringSlice("label"))
|
||||||
snapshotter := client.SnapshotService(context.GlobalString("snapshotter"))
|
snapshotter := client.SnapshotService(context.GlobalString("snapshotter"))
|
||||||
|
|
||||||
fmt.Println(context.String("media-type"))
|
|
||||||
|
|
||||||
if context.Bool("keep") {
|
if context.Bool("keep") {
|
||||||
labels["containerd.io/gc.root"] = time.Now().UTC().Format(time.RFC3339)
|
labels["containerd.io/gc.root"] = time.Now().UTC().Format(time.RFC3339)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user