fix version info

This commit is contained in:
Willy Kloucek
2022-06-13 10:43:52 +02:00
parent 588293fd19
commit 68a6f43538
93 changed files with 112 additions and 102 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ func Server(opts ...Option) (*http.Server, error) {
return debug.NewService(
debug.Logger(options.Logger),
debug.Name(options.Config.Service.Name),
debug.Version(version.String),
debug.Version(version.GetString()),
debug.Address(options.Config.Debug.Addr),
debug.Token(options.Config.Debug.Token),
debug.Pprof(options.Config.Debug.Pprof),
+2 -2
View File
@@ -18,7 +18,7 @@ func Server(opts ...Option) (http.Service, error) {
service := http.NewService(
http.Logger(options.Logger),
http.Name(options.Config.Service.Name),
http.Version(version.String),
http.Version(version.GetString()),
http.Namespace(options.Config.HTTP.Namespace),
http.Address(options.Config.HTTP.Addr),
http.Context(options.Context),
@@ -42,7 +42,7 @@ func Server(opts ...Option) (http.Service, error) {
middleware.Secure,
middleware.Version(
options.Config.Service.Name,
version.String,
version.GetString(),
),
middleware.Logger(options.Logger),
ocsmw.LogTrace,