Skip to content

Commit

Permalink
fix server info check
Browse files Browse the repository at this point in the history
Signed-off-by: Yashash H L <[email protected]>
  • Loading branch information
yhl25 committed Dec 20, 2024
1 parent f9b1b86 commit 8caf385
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion numaflow/src/shared.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,10 @@ pub(crate) struct ServerInfo {
impl ServerInfo {
pub fn new(container_type: ContainerType) -> Self {
let mut metadata: HashMap<String, String> = HashMap::new();
if container_type == ContainerType::Map || container_type == ContainerType::BatchMap {
if container_type == ContainerType::Map
|| container_type == ContainerType::BatchMap
|| container_type == ContainerType::MapStream
{
metadata.insert(
MAP_MODE_KEY.to_string(),
match container_type {
Expand Down

0 comments on commit 8caf385

Please sign in to comment.