Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement structured logging for gRPC errors on SPIRE agent #4262

Merged
Prev Previous commit
Next Next commit
goimport file
Signed-off-by: Neniel <11655196+Neniel@users.noreply.github.com>
  • Loading branch information
Neniel committed Aug 24, 2023
commit a92fed7e2c44e6c65da55259309ecf0c6f4c0ef2
4 changes: 2 additions & 2 deletions pkg/agent/client/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,20 @@ import (
"crypto"
"crypto/x509"
"errors"
"github.com/sirupsen/logrus"
"github.com/spiffe/spire/pkg/common/telemetry"
"sync"
"testing"
"time"

"github.com/google/go-cmp/cmp"
"github.com/sirupsen/logrus"
"github.com/sirupsen/logrus/hooks/test"
"github.com/spiffe/go-spiffe/v2/spiffeid"
agentv1 "github.com/spiffe/spire-api-sdk/proto/spire/api/server/agent/v1"
bundlev1 "github.com/spiffe/spire-api-sdk/proto/spire/api/server/bundle/v1"
entryv1 "github.com/spiffe/spire-api-sdk/proto/spire/api/server/entry/v1"
svidv1 "github.com/spiffe/spire-api-sdk/proto/spire/api/server/svid/v1"
"github.com/spiffe/spire-api-sdk/proto/spire/api/types"
"github.com/spiffe/spire/pkg/common/telemetry"
"github.com/spiffe/spire/proto/spire/common"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
Expand Down