Support container output format

This commit is contained in:
Dominik Werder
2024-12-04 12:15:51 +01:00
parent aeefe566b7
commit e7613d6864
6 changed files with 28 additions and 19 deletions
+1 -1
View File
@@ -71,7 +71,7 @@ pub async fn scylla_channel_event_stream(
type C2 = ContainerEvents<String>;
if let Some(j) = k.as_any_mut().downcast_mut::<C1>() {
let mut g = C2::new();
for (&ts, val) in j.iter_zip() {
for (ts, val) in j.iter_zip() {
use netpod::channelstatus as cs2;
let val = match cs2::ChannelStatus::from_kind(val as _) {
Ok(x) => x.to_user_variant_string(),