From 24602e7a98de9c54906e35425f57681eedb109c9 Mon Sep 17 00:00:00 2001 From: Alakesh Haloi Date: Wed, 17 Mar 2021 21:45:01 +0000 Subject: [PATCH] change default runtime for containerd-stress app This fixes following warning message by changing the default runtime to io.containerd.runc.v2 and does not require user to set the runtime from command line anymore. "WARN[2021-03-17T21:11:01.441207858Z] runtime v1 is deprecated since containerd v1.4, consider using runtime v2" Signed-off-by: Alakesh Haloi --- cmd/containerd-stress/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/containerd-stress/main.go b/cmd/containerd-stress/main.go index 9ef058b90..19d9dec82 100644 --- a/cmd/containerd-stress/main.go +++ b/cmd/containerd-stress/main.go @@ -147,7 +147,7 @@ func main() { cli.StringFlag{ Name: "runtime", Usage: "set the runtime to stress test", - Value: plugin.RuntimeLinuxV1, + Value: plugin.RuntimeRuncV2, }, } app.Before = func(context *cli.Context) error {