Compare commits

...

2 Commits

Author SHA1 Message Date
Juan Font
e48b7d0b22 Update golang-lint 2023-03-03 17:23:30 +01:00
Juan Font
7bcdc08bc9 Minor linting fixes
Other linting issue
2023-03-03 17:23:30 +01:00
3 changed files with 3 additions and 3 deletions

View File

@@ -30,7 +30,7 @@ jobs:
if: steps.changed-files.outputs.any_changed == 'true' if: steps.changed-files.outputs.any_changed == 'true'
uses: golangci/golangci-lint-action@v2 uses: golangci/golangci-lint-action@v2
with: with:
version: v1.49.0 version: v1.51.2
# Only block PRs on new problems. # Only block PRs on new problems.
# If this is not enabled, we will end up having PRs # If this is not enabled, we will end up having PRs

View File

@@ -1,8 +1,8 @@
package cli package cli
import ( import (
"github.com/spf13/cobra"
"github.com/rs/zerolog/log" "github.com/rs/zerolog/log"
"github.com/spf13/cobra"
) )
func init() { func init() {

View File

@@ -108,7 +108,7 @@ func WithPort(port int) Option {
} }
} }
// WithTestName sets a a name for the test, this will be reflected // WithTestName sets a name for the test, this will be reflected
// in the Docker container name. // in the Docker container name.
func WithTestName(testName string) Option { func WithTestName(testName string) Option {
return func(hsic *HeadscaleInContainer) { return func(hsic *HeadscaleInContainer) {