Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka committed Nov 29, 2024
1 parent c50535f commit 5a49412
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
6 changes: 4 additions & 2 deletions lib/automaticupgrades/maintenance/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ package maintenance

import (
"context"

"github.com/gravitational/trace"
"sigs.k8s.io/controller-runtime/pkg/client"

"github.com/gravitational/teleport/api/client/webclient"
"github.com/gravitational/teleport/lib/automaticupgrades/cache"
"github.com/gravitational/teleport/lib/automaticupgrades/constants"
"github.com/gravitational/trace"
"sigs.k8s.io/controller-runtime/pkg/client"
)

type proxyMaintenanceClient struct {
Expand Down
2 changes: 1 addition & 1 deletion lib/automaticupgrades/maintenance/trigger.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ package maintenance

import (
"context"
"github.com/gravitational/trace"
"strings"

"github.com/gravitational/trace"
"sigs.k8s.io/controller-runtime/pkg/client"
ctrllog "sigs.k8s.io/controller-runtime/pkg/log"
)
Expand Down
3 changes: 2 additions & 1 deletion lib/automaticupgrades/maintenance/trigger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package maintenance

import (
"context"
"testing"

"github.com/gravitational/trace"
"github.com/stretchr/testify/require"
"testing"
)

// checkTraceError is a test helper that converts trace.IsXXXError into a require.ErrorAssertionFunc
Expand Down
4 changes: 3 additions & 1 deletion lib/automaticupgrades/version/proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,12 @@ package version

import (
"context"

"github.com/gravitational/trace"

"github.com/gravitational/teleport/api/client/webclient"
"github.com/gravitational/teleport/lib/automaticupgrades/cache"
"github.com/gravitational/teleport/lib/automaticupgrades/constants"
"github.com/gravitational/trace"
)

type proxyVersionClient struct {
Expand Down
2 changes: 1 addition & 1 deletion lib/automaticupgrades/version/versionget_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ package version

import (
"context"
"github.com/gravitational/trace"
"testing"

"github.com/gravitational/trace"
"github.com/stretchr/testify/require"
)

Expand Down

0 comments on commit 5a49412

Please sign in to comment.