Compare commits

...

2 Commits

Author SHA1 Message Date
Bobo
0b7e6265f4 feat: fix bug. 2025-05-12 11:21:58 +08:00
Bobo
b54b4252d9 feat: upgrade go.mod. 2025-05-10 20:04:38 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -22,10 +22,10 @@ require (
github.com/olekukonko/tablewriter v0.0.5
github.com/spf13/cobra v1.9.1
github.com/tx7do/kratos-bootstrap/api v0.0.13
github.com/tx7do/kratos-bootstrap/config v0.0.8
github.com/tx7do/kratos-bootstrap/logger v0.0.8
github.com/tx7do/kratos-bootstrap/registry v0.0.8
github.com/tx7do/kratos-bootstrap/tracer v0.0.8
github.com/tx7do/kratos-bootstrap/config v0.0.9
github.com/tx7do/kratos-bootstrap/logger v0.0.9
github.com/tx7do/kratos-bootstrap/registry v0.0.9
github.com/tx7do/kratos-bootstrap/tracer v0.0.9
github.com/tx7do/kratos-bootstrap/utils v0.1.3
golang.org/x/tools v0.33.0
)

View File

@@ -74,7 +74,7 @@ func initRestConfig(cfg *conf.Bootstrap, mds ...middleware.Middleware) []kratosR
}
ms = append(ms, midRateLimit.Server(midRateLimit.WithLimiter(limiter)))
}
if cfg.Server.Grpc.Middleware.GetEnableMetadata() {
if cfg.Server.Rest.Middleware.GetEnableMetadata() {
ms = append(ms, metadata.Server())
}
}

View File

@@ -7,7 +7,7 @@ git tag oss/minio/v0.0.9 --force
git tag registry/v0.0.9 --force
git tag config/v0.0.9 --force
git tag logger/v0.0.9 --force
git tag rpc/v0.0.11 --force
git tag rpc/v0.0.12 --force
git tag tracer/v0.0.9 --force
git tag database/ent/v0.0.9 --force