server fix log.Log -> log.Logf

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
Василий Толстов 2019-06-05 15:09:26 +03:00
parent 953f41aeab
commit 695c546385

View File

@ -486,7 +486,7 @@ func (s *rpcServer) Start() error {
} else {
// announce self to the world
if err = s.Register(); err != nil {
log.Log("Server %s-%s register error: %s", config.Name, config.Id, err)
log.Logf("Server %s-%s register error: %s", config.Name, config.Id, err)
}
}