From a5ae72cb26fe05bb5d1ac031af14631183fe23d9 Mon Sep 17 00:00:00 2001 From: Alan Donovan Date: Fri, 27 Aug 2021 15:38:41 -0400 Subject: [PATCH] revert removal of _ = f() to pacify linter --- cmd/ghcs/ports.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ghcs/ports.go b/cmd/ghcs/ports.go index c5088bfe6..492107bfc 100644 --- a/cmd/ghcs/ports.go +++ b/cmd/ghcs/ports.go @@ -84,7 +84,7 @@ func ports(opts *portsOptions) error { devContainerResult := <-devContainerCh if devContainerResult.err != nil { // Warn about failure to read the devcontainer file. Not a ghcs command error. - log.Errorf("Failed to get port names: %v\n", devContainerResult.err.Error()) + _, _ = log.Errorf("Failed to get port names: %v\n", devContainerResult.err.Error()) } table := output.NewTable(os.Stdout, opts.asJSON)