From 3d5d18214df21da398669ccf7344d1b880e8e18c Mon Sep 17 00:00:00 2001 From: hugoShaka Date: Wed, 23 Oct 2024 17:05:54 -0400 Subject: [PATCH] lint --- lib/web/apiserver.go | 4 ++-- lib/web/apiserver_ping_test.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/web/apiserver.go b/lib/web/apiserver.go index 29d19b0a2a1b0..9d4807f8df1f7 100644 --- a/lib/web/apiserver.go +++ b/lib/web/apiserver.go @@ -28,8 +28,6 @@ import ( "encoding/json" "errors" "fmt" - "github.com/gravitational/teleport/api" - "github.com/gravitational/teleport/api/types/autoupdate" "html/template" "io" "log/slog" @@ -61,6 +59,7 @@ import ( "google.golang.org/protobuf/types/known/timestamppb" "github.com/gravitational/teleport" + "github.com/gravitational/teleport/api" apiclient "github.com/gravitational/teleport/api/client" "github.com/gravitational/teleport/api/client/proto" "github.com/gravitational/teleport/api/client/webclient" @@ -71,6 +70,7 @@ import ( "github.com/gravitational/teleport/api/mfa" apitracing "github.com/gravitational/teleport/api/observability/tracing" "github.com/gravitational/teleport/api/types" + "github.com/gravitational/teleport/api/types/autoupdate" apievents "github.com/gravitational/teleport/api/types/events" "github.com/gravitational/teleport/api/types/installers" "github.com/gravitational/teleport/api/utils/keys" diff --git a/lib/web/apiserver_ping_test.go b/lib/web/apiserver_ping_test.go index 3c9c655f011da..903a204fe2228 100644 --- a/lib/web/apiserver_ping_test.go +++ b/lib/web/apiserver_ping_test.go @@ -21,7 +21,6 @@ package web import ( "context" "encoding/json" - "github.com/gravitational/teleport/api" "net/http" "net/url" "testing" @@ -31,6 +30,7 @@ import ( "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" + "github.com/gravitational/teleport/api" "github.com/gravitational/teleport/api/client/webclient" "github.com/gravitational/teleport/api/constants" autoupdatev1pb "github.com/gravitational/teleport/api/gen/proto/go/teleport/autoupdate/v1"