summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2018-07-26 17:05:54 +0300
committerWolfy-J <[email protected]>2018-07-26 17:05:54 +0300
commit8226b1f064ba1dca8f817bb882e0e570fc057e43 (patch)
tree606261f4b57d3acc5c977f57253c848782f40952 /cmd
parent234995f297c4067f4dfdba305f3b16a90143cf12 (diff)
default service value as version
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rr/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/rr/main.go b/cmd/rr/main.go
index 2abb6321..e95139a3 100644
--- a/cmd/rr/main.go
+++ b/cmd/rr/main.go
@@ -39,7 +39,7 @@ import (
func main() {
rr.Logger.Formatter = &logrus.TextFormatter{ForceColors: true}
- rr.Container.Register(env.ID, &env.Service{})
+ rr.Container.Register(env.ID, env.NewService(rr.Version))
rr.Container.Register(rpc.ID, &rpc.Service{})
rr.Container.Register(http.ID, &http.Service{})
rr.Container.Register(static.ID, &static.Service{})