Move denali client to separate lib.
This commit is contained in:
parent
c8f84ec352
commit
59efb1659a
10 changed files with 56 additions and 18 deletions
|
|
@ -122,7 +122,7 @@ impl YellowstoneServerHandler for YellowstoneServerImpl {
|
|||
|
||||
fn get_denali(&mut self) -> Result<DenaliInfo, ZError> {
|
||||
match self.context.service_map.lock().get("denali") {
|
||||
Some(ep_cap) => crate::gpt::read_gpt(denali::DenaliClient::new(
|
||||
Some(ep_cap) => crate::gpt::read_gpt(denali_client::DenaliClient::new(
|
||||
ep_cap.duplicate(Capability::PERMS_ALL).unwrap(),
|
||||
))
|
||||
.map(|lba| DenaliInfo {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue