From 4e03e87547853523d4ff941935a6ef1712518c61 Mon Sep 17 00:00:00 2001 From: Adin Scannell Date: Tue, 12 Jan 2021 12:36:17 -0800 Subject: Fix simple mistakes identified by goreportcard. These are primarily simplification and lint mistakes. However, minor fixes are also included and tests added where appropriate. PiperOrigin-RevId: 351425971 --- shim/v1/cli/cli.go | 1 - 1 file changed, 1 deletion(-) (limited to 'shim/v1') diff --git a/shim/v1/cli/cli.go b/shim/v1/cli/cli.go index 1a502eabd..cdf60cc2e 100644 --- a/shim/v1/cli/cli.go +++ b/shim/v1/cli/cli.go @@ -164,7 +164,6 @@ func serve(server *ttrpc.Server, path string) error { ) if path == "" { l, err = net.FileListener(os.NewFile(3, "socket")) - path = "[inherited from parent]" } else { if len(path) > 106 { return fmt.Errorf("%q: unix socket path too long (> 106)", path) -- cgit v1.2.3