mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-11 22:49:54 +00:00
Update depgaurd rules to prevent logrus from being imported in e (#47962)
The teleport.e repo was recently converted to log exclusively with slog. In order to prevent logrus from accidentally being reintroduced into teleport.e the logrus depguard rule was updated to include the e repo. Additionally the e_imports.go file was updated to reflect that logrus is no longer required.
This commit is contained in:
+3
-6
@@ -57,19 +57,16 @@ import (
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/athena"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/athena/types"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/glue"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/identitystore"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/organizations"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/s3"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/ssoadmin"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/sts"
|
||||
_ "github.com/aws/aws-sdk-go-v2/service/sts/types"
|
||||
_ "github.com/beevik/etree"
|
||||
_ "github.com/cloudflare/cfssl/csr"
|
||||
_ "github.com/coreos/go-oidc/jose"
|
||||
_ "github.com/coreos/go-oidc/oauth2"
|
||||
_ "github.com/coreos/go-oidc/oidc"
|
||||
_ "github.com/coreos/go-semver/semver"
|
||||
_ "github.com/crewjam/saml"
|
||||
_ "github.com/crewjam/saml/logger"
|
||||
_ "github.com/crewjam/saml/samlsp"
|
||||
_ "github.com/elimity-com/scim/schema"
|
||||
_ "github.com/ghodss/yaml"
|
||||
@@ -83,6 +80,8 @@ import (
|
||||
_ "github.com/google/safetext/shsprintf"
|
||||
_ "github.com/google/uuid"
|
||||
_ "github.com/gravitational/license"
|
||||
_ "github.com/gravitational/license/authority"
|
||||
_ "github.com/gravitational/license/constants"
|
||||
_ "github.com/gravitational/license/generate"
|
||||
_ "github.com/gravitational/roundtrip"
|
||||
_ "github.com/gravitational/trace"
|
||||
@@ -105,7 +104,6 @@ import (
|
||||
_ "github.com/russellhaering/goxmldsig"
|
||||
_ "github.com/scim2/filter-parser/v2"
|
||||
_ "github.com/sijms/go-ora/v2"
|
||||
_ "github.com/sirupsen/logrus"
|
||||
_ "github.com/stretchr/testify/assert"
|
||||
_ "github.com/stretchr/testify/mock"
|
||||
_ "github.com/stretchr/testify/require"
|
||||
@@ -116,7 +114,6 @@ import (
|
||||
_ "golang.org/x/crypto/bcrypt"
|
||||
_ "golang.org/x/crypto/ssh"
|
||||
_ "golang.org/x/crypto/ssh/agent"
|
||||
_ "golang.org/x/exp/maps"
|
||||
_ "golang.org/x/mod/semver"
|
||||
_ "golang.org/x/net/html"
|
||||
_ "golang.org/x/net/http/httpproxy"
|
||||
|
||||
Reference in New Issue
Block a user