From 0cf9c4ce8e900ca049e125eb3b083453f4731c29 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Mon, 31 Oct 2022 10:47:30 +0100 Subject: [PATCH] Add nolint since go os has weird casing Signed-off-by: Kristoffer Dalby --- cmd/headscale/cli/utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/headscale/cli/utils.go b/cmd/headscale/cli/utils.go index a6e04f9c..2d6369ae 100644 --- a/cmd/headscale/cli/utils.go +++ b/cmd/headscale/cli/utils.go @@ -84,7 +84,7 @@ func getHeadscaleCLIClient() (context.Context, v1.HeadscaleServiceClient, *grpc. // Try to give the user better feedback if we cannot write to the headscale // socket. - socket, err := os.OpenFile(cfg.UnixSocket, os.O_WRONLY, SocketWritePermissions) + socket, err := os.OpenFile(cfg.UnixSocket, os.O_WRONLY, SocketWritePermissions) //nolint if err != nil { if os.IsPermission(err) { log.Fatal().