Skip to content

Commit

Permalink
Fix incorrect response struct TopologyProposal -> TopologyChangePropo…
Browse files Browse the repository at this point in the history
…sal (#470)
  • Loading branch information
pietrodimarco-dfinity authored Jun 10, 2024
1 parent 50e1573 commit 819d4ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rs/cli/src/clients.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use decentralization::SubnetChangeResponse;
use ic_base_types::PrincipalId;
use ic_management_types::{
requests::{MembershipReplaceRequest, NodesRemoveRequest, NodesRemoveResponse, SubnetCreateRequest, SubnetResizeRequest},
Artifact, Network, NetworkError, Release, TopologyProposal,
Artifact, Network, NetworkError, Release, TopologyChangeProposal,
};
use log::error;
use serde::de::DeserializeOwned;
Expand Down Expand Up @@ -37,7 +37,7 @@ impl DashboardBackendClient {
}
}

pub async fn subnet_pending_action(&self, subnet: PrincipalId) -> anyhow::Result<Option<TopologyProposal>> {
pub async fn subnet_pending_action(&self, subnet: PrincipalId) -> anyhow::Result<Option<TopologyChangeProposal>> {
reqwest::Client::new()
.get(
self.url
Expand Down

0 comments on commit 819d4ab

Please sign in to comment.