Skip to content

Commit

Permalink
change default runtime for containerd-stress app
Browse files Browse the repository at this point in the history
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 <alakeshh@amazon.com>
  • Loading branch information
alakesh committed Mar 17, 2021
1 parent 32a08f1 commit 24602e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/containerd-stress/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 24602e7

Please sign in to comment.