Merge pull request #6271 from fuweid/move_stdout_to_stderr

ctr/snapshots/diff: show media-type in stderr
This commit is contained in:
Maksym Pavlenko 2021-11-28 11:29:21 -08:00 committed by GitHub
commit 9e7910ebdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -133,8 +133,6 @@ var diffCommand = cli.Command{
labels := commands.LabelArgs(context.StringSlice("label"))
snapshotter := client.SnapshotService(context.GlobalString("snapshotter"))
fmt.Println(context.String("media-type"))
if context.Bool("keep") {
labels["containerd.io/gc.root"] = time.Now().UTC().Format(time.RFC3339)
}