From 07c226082fb3a65d98da3e18bdb793ccc841840a Mon Sep 17 00:00:00 2001 From: Alessio Dionisi Date: Thu, 4 Jan 2024 17:11:24 +0100 Subject: [PATCH] lint: fix linter --- cmd/delete/cluster.go | 4 +--- cmd/errors.go | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/cmd/delete/cluster.go b/cmd/delete/cluster.go index 6520b3164..a0ffa7d75 100644 --- a/cmd/delete/cluster.go +++ b/cmd/delete/cluster.go @@ -25,9 +25,7 @@ import ( netx "github.com/sighupio/furyctl/internal/x/net" ) -var ( - ErrParsingFlag = errors.New("error while parsing flag") -) +var ErrParsingFlag = errors.New("error while parsing flag") type ClusterCmdFlags struct { Debug bool diff --git a/cmd/errors.go b/cmd/errors.go index f50bcaf17..47c031a2a 100644 --- a/cmd/errors.go +++ b/cmd/errors.go @@ -6,6 +6,4 @@ package cmd import "errors" -var ( - ErrParsingFlag = errors.New("error while parsing flag") -) +var ErrParsingFlag = errors.New("error while parsing flag")