1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-11-29 21:47:44 +02:00

minor runtime fixes

This commit is contained in:
Asim Aslam
2020-01-17 14:14:47 +00:00
parent ee922a3da6
commit be788415ad
2 changed files with 8 additions and 1 deletions

View File

@@ -155,7 +155,7 @@ func (r *runtime) Create(s *Service, opts ...CreateOption) error {
defer r.Unlock()
if _, ok := r.services[s.Name]; ok {
return errors.New("service already registered")
return errors.New("service already running")
}
var options CreateOptions