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:
parent
dd86128e0d
commit
8bb5999738
@ -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"
|
||||||
|
@ -38,6 +38,7 @@ var Command = cli.Command{
|
|||||||
execCommand,
|
execCommand,
|
||||||
listCommand,
|
listCommand,
|
||||||
killCommand,
|
killCommand,
|
||||||
|
metricsCommand,
|
||||||
pauseCommand,
|
pauseCommand,
|
||||||
psCommand,
|
psCommand,
|
||||||
resumeCommand,
|
resumeCommand,
|
||||||
|
Loading…
Reference in New Issue
Block a user