From 85a0a353ad185946d39463fddb3ec2cb37876371 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Tue, 13 Jul 2021 17:18:26 -0700 Subject: Replace whitelist with allowlist PiperOrigin-RevId: 384586164 --- runsc/cmd/debug.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runsc') diff --git a/runsc/cmd/debug.go b/runsc/cmd/debug.go index 6212ffb2e..da81cf048 100644 --- a/runsc/cmd/debug.go +++ b/runsc/cmd/debug.go @@ -166,7 +166,7 @@ func (d *Debug) Execute(_ context.Context, f *flag.FlagSet, args ...interface{}) log.Infof("Enabling strace for syscalls: %s", d.strace) args.SetStrace = true args.EnableStrace = true - args.StraceWhitelist = strings.Split(d.strace, ",") + args.StraceAllowlist = strings.Split(d.strace, ",") } if len(d.logLevel) != 0 { -- cgit v1.2.3