Skip to content

Commit e3c309c

Browse files
[#167]: Fixed api/main.rs info! typos
1 parent 12eaa20 commit e3c309c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

core/api/src/main.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
// module imports
2-
use tonic::transport::{Error, Server};
32
use cortexbrain_common::logger;
3+
use tonic::transport::{Error, Server};
44

55
mod agent;
66
mod api;
7-
mod structs;
87
mod constants;
98
mod helpers;
9+
mod structs;
1010

1111
mod agent_proto {
1212
use tonic::include_file_descriptor_set;
@@ -26,7 +26,7 @@ async fn main() -> Result<(), Error> {
2626
logger::init_default_logger();
2727

2828
info!("Starting agent server...");
29-
info!("fetching data");
29+
info!("Fetching data");
3030

3131
//FIXME: binding on 0.0.0.0 address is not ideal for a production environment. This will need future fixes
3232
let address = "0.0.0.0:9090".parse().unwrap();
@@ -37,7 +37,7 @@ async fn main() -> Result<(), Error> {
3737
.build_v1()
3838
{
3939
Ok(reflection_server) => {
40-
info!("reflection server started correctly");
40+
info!("Reflection server started correctly");
4141
match Server::builder()
4242
.add_service(AgentServer::new(api))
4343
.add_service(reflection_server)
@@ -46,7 +46,7 @@ async fn main() -> Result<(), Error> {
4646
{
4747
Ok(_) => info!("Server started with no errors"),
4848
Err(e) => error!(
49-
"An error occured during the Server::builder processe. Error {}",
49+
"An error occured during the Server::builder process. Error {}",
5050
e
5151
),
5252
}

0 commit comments

Comments
 (0)