Skip to content

Commit

Permalink
lint: fix imports
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoShaka committed Jul 25, 2024
1 parent da696eb commit e2b2c09
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
6 changes: 3 additions & 3 deletions integrations/terraform/provider/credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ import (
"text/template"
"time"

apitypes "github.com/gravitational/teleport/api/types"
"github.com/gravitational/teleport/integrations/lib/embeddedtbot"
tbotconfig "github.com/gravitational/teleport/lib/tbot/config"
"github.com/gravitational/trace"
"github.com/hashicorp/terraform-plugin-framework/diag"
"github.com/hashicorp/terraform-plugin-log/tflog"

"github.com/gravitational/teleport/api/client"
"github.com/gravitational/teleport/api/constants"
apitypes "github.com/gravitational/teleport/api/types"
"github.com/gravitational/teleport/integrations/lib/embeddedtbot"
tbotconfig "github.com/gravitational/teleport/lib/tbot/config"
)

var supportedCredentialSources = CredentialSources{
Expand Down
23 changes: 13 additions & 10 deletions integrations/terraform/testlib/machineid_join_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,26 @@ package testlib
import (
"context"
"fmt"
"os"
"path/filepath"
"testing"
"time"

"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/jonboulle/clockwork"
"github.com/stretchr/testify/require"

headerv1 "github.com/gravitational/teleport/api/gen/proto/go/teleport/header/v1"
machineidv1 "github.com/gravitational/teleport/api/gen/proto/go/teleport/machineid/v1"
"github.com/gravitational/teleport/api/types"
"github.com/gravitational/teleport/integrations/lib/testing/fakejoin"
"github.com/gravitational/teleport/integrations/lib/testing/integration"
"github.com/gravitational/teleport/integrations/terraform/provider"
"github.com/gravitational/teleport/lib/kubernetestoken"
"github.com/gravitational/teleport/lib/services"
"github.com/hashicorp/terraform-plugin-framework/providerserver"
"github.com/hashicorp/terraform-plugin-go/tfprotov6"
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
"github.com/jonboulle/clockwork"
"github.com/stretchr/testify/require"
"os"
"path/filepath"
"testing"
"time"

"github.com/gravitational/teleport/integrations/terraform/provider"
)

func TestTerraformJoin(t *testing.T) {
Expand Down

0 comments on commit e2b2c09

Please sign in to comment.