Skip to content

Commit 54f5c24

Browse files
authored
Fix various linting issues + golang-lint upgrade (juanfont#1245)
1 parent a82a603 commit 54f5c24

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
if: steps.changed-files.outputs.any_changed == 'true'
3131
uses: golangci/golangci-lint-action@v2
3232
with:
33-
version: v1.49.0
33+
version: v1.51.2
3434

3535
# Only block PRs on new problems.
3636
# If this is not enabled, we will end up having PRs

cmd/headscale/cli/configtest.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package cli
22

33
import (
4-
"github.com/spf13/cobra"
54
"github.com/rs/zerolog/log"
5+
"github.com/spf13/cobra"
66
)
77

88
func init() {

integration/hsic/hsic.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ func WithPort(port int) Option {
108108
}
109109
}
110110

111-
// WithTestName sets a a name for the test, this will be reflected
111+
// WithTestName sets a name for the test, this will be reflected
112112
// in the Docker container name.
113113
func WithTestName(testName string) Option {
114114
return func(hsic *HeadscaleInContainer) {

0 commit comments

Comments
 (0)