Rename SfDbChannel
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use crate::errconv::ErrConv;
|
||||
use err::Error;
|
||||
use futures_util::StreamExt;
|
||||
use netpod::{log::*, Channel, ScalarType, Shape};
|
||||
use netpod::{log::*, ScalarType, SfDbChannel, Shape};
|
||||
use netpod::{ChannelConfigQuery, ChannelConfigResponse};
|
||||
use scylla::Session as ScySession;
|
||||
use std::sync::Arc;
|
||||
@@ -19,7 +19,7 @@ pub async fn config_from_scylla(chq: ChannelConfigQuery, scy: Arc<ScySession>) -
|
||||
let cols = row.into_typed::<(i64, i32, Vec<i32>)>().err_conv()?;
|
||||
let scalar_type = ScalarType::from_scylla_i32(cols.1)?;
|
||||
let shape = Shape::from_scylla_shape_dims(&cols.2)?;
|
||||
let channel = Channel {
|
||||
let channel = SfDbChannel {
|
||||
series: Some(cols.0 as _),
|
||||
backend: chq.channel.backend().into(),
|
||||
name: chq.channel.name().into(),
|
||||
|
||||
Reference in New Issue
Block a user