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) {