Skip to content

Commit 0cf9c4c

Browse files
kradalbyjuanfont
authored andcommitted
Add nolint since go os has weird casing
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
1 parent e8b3de4 commit 0cf9c4c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/headscale/cli/utils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func getHeadscaleCLIClient() (context.Context, v1.HeadscaleServiceClient, *grpc.
8484

8585
// Try to give the user better feedback if we cannot write to the headscale
8686
// socket.
87-
socket, err := os.OpenFile(cfg.UnixSocket, os.O_WRONLY, SocketWritePermissions)
87+
socket, err := os.OpenFile(cfg.UnixSocket, os.O_WRONLY, SocketWritePermissions) //nolint
8888
if err != nil {
8989
if os.IsPermission(err) {
9090
log.Fatal().

0 commit comments

Comments
 (0)