From ff5defec559b8f4d47846fe0fdb957c3be0af3eb Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Sat, 28 Jul 2018 16:42:31 +0300 Subject: Update main.go --- cmd/rr/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/rr/main.go b/cmd/rr/main.go index 170d58bb..2c005175 100644 --- a/cmd/rr/main.go +++ b/cmd/rr/main.go @@ -40,7 +40,7 @@ func main() { rr.Logger.Formatter = &logrus.TextFormatter{ForceColors: true} rr.Container.Register(rpc.ID, &rpc.Service{}) - rr.Container.Register(env.ID, env.NewService(rr.Version)) + rr.Container.Register(env.ID, env.NewService(map[string]string{"rr": rr.Version})) rr.Container.Register(http.ID, &http.Service{}) rr.Container.Register(static.ID, &static.Service{}) -- cgit v1.2.3