Skip to content

Commit

Permalink
[ISSUE #2147]💫Optimize DefaultRequestProcessor extract_register_topic…
Browse files Browse the repository at this point in the history
…_config_from_request
  • Loading branch information
mxsm authored Jan 7, 2025
1 parent 0b375e8 commit f9977ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ fn extract_register_topic_config_from_request(
return TopicConfigAndMappingSerializeWrapper::default();
}
return SerdeJsonUtils::decode::<TopicConfigAndMappingSerializeWrapper>(
body_inner.iter().as_slice(),
body_inner.as_ref(),

Check warning on line 735 in rocketmq-namesrv/src/processor/default_request_processor.rs

View check run for this annotation

Codecov / codecov/patch

rocketmq-namesrv/src/processor/default_request_processor.rs#L735

Added line #L735 was not covered by tests
)
.expect("decode TopicConfigAndMappingSerializeWrapper failed");
}
Expand Down

0 comments on commit f9977ab

Please sign in to comment.