Skip to content

Commit cfadad2

Browse files
committed
fix doc
Signed-off-by: Yashash H L <[email protected]>
1 parent e26b525 commit cfadad2

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

numaflow/src/serving_store.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ const DEFAULT_SOCK_ADDR: &str = "/var/run/numaflow/serving.sock";
1818
const DEFAULT_SERVER_INFO_FILE: &str = "/var/run/numaflow/serving-server-info";
1919

2020
/// ServingStore trait for implementing user defined stores. This Store has to be
21-
/// a shared Store between the Source and the Sink vertices. [put] happens in Sink
22-
/// while the [get] gets called at the Source.
21+
/// a shared Store between the Source and the Sink vertices. [ServingStore::put] happens in Sink
22+
/// while the [ServingService::get] gets called at the serving layer.
2323
///
2424
/// Types implementing this trait can be passed as user-defined store handle.
2525
#[tonic::async_trait]

numaflow/src/sink.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ pub struct Response {
131131
pub id: String,
132132
/// response_type indicates the type of the response.
133133
pub response_type: ResponseType,
134-
/// err string is used to describe the error if [`Response::success`] was `false`.
134+
/// err string is used to describe the error if [`ResponseType::Failure`] is set.
135135
pub err: Option<String>,
136136
pub serve_response: Option<Vec<u8>>,
137137
}
@@ -259,7 +259,6 @@ where
259259
grpc_resp_tx.clone(),
260260
)
261261
.await?;
262-
println!("Time taken for batch: {:?}", start.elapsed().as_micros());
263262
}
264263
Ok(())
265264
}

0 commit comments

Comments
 (0)