Remove the outdated comment

While containerd/cgroups is only for Linux, the metrics subcommand works
on Windows.

Signed-off-by: Kazuyoshi Kato <katokazu@amazon.com>
This commit is contained in:
Kazuyoshi Kato 2022-11-14 17:45:44 +00:00
parent dd86128e0d
commit 8bb5999738
2 changed files with 1 additions and 6 deletions

View File

@ -32,12 +32,6 @@ import (
"github.com/urfave/cli" "github.com/urfave/cli"
) )
func init() {
// metricsCommand is only added on Linux as github.com/containerd/cgroups/v3
// does not compile on darwin or windows
Command.Subcommands = append(Command.Subcommands, metricsCommand)
}
const ( const (
formatFlag = "format" formatFlag = "format"
formatTable = "table" formatTable = "table"

View File

@ -38,6 +38,7 @@ var Command = cli.Command{
execCommand, execCommand,
listCommand, listCommand,
killCommand, killCommand,
metricsCommand,
pauseCommand, pauseCommand,
psCommand, psCommand,
resumeCommand, resumeCommand,