Skip to content

Commit 24602e7

Browse files
committed
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 <[email protected]>
1 parent 32a08f1 commit 24602e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/containerd-stress/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ func main() {
147147
cli.StringFlag{
148148
Name: "runtime",
149149
Usage: "set the runtime to stress test",
150-
Value: plugin.RuntimeLinuxV1,
150+
Value: plugin.RuntimeRuncV2,
151151
},
152152
}
153153
app.Before = func(context *cli.Context) error {

0 commit comments

Comments
 (0)