fix logs
All checks were successful
dev test / test (push) Successful in 7s
dev test / vulnCheck (push) Successful in 13s
dev test / Ci-Lint (push) Successful in 11s
${{ github.actor }} executed Build Push Prod / build (push) Successful in 3m11s
${{ github.actor }} executed Build Push Prod / deploy (push) Successful in 19s

This commit is contained in:
maximo tejeda 2024-12-03 23:12:46 -04:00
parent 2294f9efc1
commit 97f95eb107

View File

@ -19,7 +19,7 @@ type Adapter struct {
func NewAdapter(conn *grpc.ClientConn) (*Adapter, error) { func NewAdapter(conn *grpc.ClientConn) (*Adapter, error) {
client := dolar.NewDollarClient(conn) client := dolar.NewDollarClient(conn)
log := slog.New(slog.NewJSONHandler(os.Stderr)) log := slog.New(slog.NewJSONHandler(os.Stderr, nil))
log.With("dapter", "dolar-grpc") log.With("dapter", "dolar-grpc")
return &Adapter{dolar: client, conn: conn, log: log}, nil return &Adapter{dolar: client, conn: conn, log: log}, nil
} }