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
+2 -2
View File
@@ -18,7 +18,7 @@ func Server(opts ...Option) (http.Service, error) {
http.Logger(options.Logger),
http.Namespace(options.Namespace),
http.Name("web"),
http.Version(version.String),
http.Version(version.GetString()),
http.Address(options.Config.HTTP.Addr),
http.Context(options.Context),
http.Flags(options.Flags...),
@@ -35,7 +35,7 @@ func Server(opts ...Option) (http.Service, error) {
webmid.SilentRefresh,
middleware.Version(
"web",
version.String,
version.GetString(),
),
middleware.Logger(
options.Logger,