Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2020-11-05 02:01:37 +03:00
parent ad418b5905
commit 31c35661ae

View File

@ -707,10 +707,7 @@ func (g *grpcServer) Register() error {
return nil return nil
} }
var err error service, err := server.NewRegistryService(g)
var service *registry.Service
service, err = server.NewRegistryService(g)
if err != nil { if err != nil {
return err return err
} }