remove version from service config

This commit is contained in:
Willy Kloucek
2022-01-03 16:24:39 +01:00
parent 55bf175bea
commit 3d4df5796a
40 changed files with 70 additions and 58 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ func Server(opts ...Option) http.Service {
service := http.NewService(
http.Logger(options.Logger),
http.Name(options.Name),
http.Version(options.Config.Service.Version),
http.Version(version.String),
http.Address(options.Config.HTTP.Addr),
http.Namespace(options.Config.HTTP.Namespace),
http.Context(options.Context),