From ab561f9c2db4bcc0073e73f03e435c337d309e11 Mon Sep 17 00:00:00 2001 From: Andrew Burke Date: Mon, 29 Jul 2024 14:48:46 -0700 Subject: [PATCH] Fix imports --- lib/services/local/statichostuser.go | 3 ++- lib/services/statichostuser.go | 3 ++- lib/services/statichostuser_test.go | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/services/local/statichostuser.go b/lib/services/local/statichostuser.go index 5913bc51897e1..a072398e5c858 100644 --- a/lib/services/local/statichostuser.go +++ b/lib/services/local/statichostuser.go @@ -21,12 +21,13 @@ package local import ( "context" + "github.com/gravitational/trace" + userprovisioningpb "github.com/gravitational/teleport/api/gen/proto/go/teleport/userprovisioning/v1" "github.com/gravitational/teleport/api/types" "github.com/gravitational/teleport/lib/backend" "github.com/gravitational/teleport/lib/services" "github.com/gravitational/teleport/lib/services/local/generic" - "github.com/gravitational/trace" ) const ( diff --git a/lib/services/statichostuser.go b/lib/services/statichostuser.go index b02555c3d4057..1fe2a67660a62 100644 --- a/lib/services/statichostuser.go +++ b/lib/services/statichostuser.go @@ -22,9 +22,10 @@ import ( "context" "strconv" + "github.com/gravitational/trace" + userprovisioningpb "github.com/gravitational/teleport/api/gen/proto/go/teleport/userprovisioning/v1" "github.com/gravitational/teleport/api/types" - "github.com/gravitational/trace" ) // StaticHostUserService manages host users that should be created on SSH nodes. diff --git a/lib/services/statichostuser_test.go b/lib/services/statichostuser_test.go index 810b037f7bbaa..ac9b9be011b2c 100644 --- a/lib/services/statichostuser_test.go +++ b/lib/services/statichostuser_test.go @@ -21,11 +21,12 @@ package services import ( "testing" + "github.com/stretchr/testify/require" + userprovisioningpb "github.com/gravitational/teleport/api/gen/proto/go/teleport/userprovisioning/v1" "github.com/gravitational/teleport/api/types" "github.com/gravitational/teleport/api/types/userprovisioning" "github.com/gravitational/teleport/api/types/wrappers" - "github.com/stretchr/testify/require" ) func TestValidateStaticHostUser(t *testing.T) {