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
}
var err error
var service *registry.Service
service, err = server.NewRegistryService(g)
service, err := server.NewRegistryService(g)
if err != nil {
return err
}