From 7132b9a07b55b1c2944f19bb938878d147785a72 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Mon, 12 Jul 2021 16:43:01 -0700 Subject: Fix GoLand analyzer errors under runsc/... PiperOrigin-RevId: 384344990 --- runsc/cli/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'runsc/cli/main.go') diff --git a/runsc/cli/main.go b/runsc/cli/main.go index 76184cd9c..3556d7665 100644 --- a/runsc/cli/main.go +++ b/runsc/cli/main.go @@ -243,7 +243,7 @@ func Main(version string) { subcmdCode := subcommands.Execute(context.Background(), conf, &ws) // Check for leaks and write coverage report before os.Exit(). refsvfs2.DoLeakCheck() - coverage.Report() + _ = coverage.Report() if subcmdCode == subcommands.ExitSuccess { log.Infof("Exiting with status: %v", ws) if ws.Signaled() { -- cgit v1.2.3