Fix starting Gaia Lite (#2918)

* Fix starting Gaia Lite
This commit is contained in:
Alexander Bezobchuk 2018-11-27 15:19:01 -05:00 committed by Jack Zampolin
parent cdb027e914
commit 71aec4688b
1 changed files with 8 additions and 5 deletions

View File

@ -127,18 +127,21 @@ func (rs *RestServer) Start(listenAddr string, sslHosts string,
if err != nil {
return
}
go rpcserver.StartHTTPAndTLSServer(
rs.log.Info("Starting Gaia Lite REST service...")
rs.log.Info(rs.fingerprint)
err := rpcserver.StartHTTPAndTLSServer(
rs.listener,
rs.Mux,
certFile, keyFile,
rs.log,
)
rs.log.Info(rs.fingerprint)
rs.log.Info("REST server started")
if err != nil {
return err
}
}
// logger.Info("REST server started")
return nil
}