Skip to content

Commit

Permalink
Remove commented (and outdated) code
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Aug 28, 2023
1 parent c867656 commit 4dd1ad0
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions rust/agama-lib/src/network/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -193,20 +193,4 @@ impl<'a> NetworkClient<'a> {
proxy.set_password(&wireless.password).await?;
Ok(())
}

// Replace with a better implemenation based on signals.
// async fn wait_for_connection(&self, id: &str) -> Result<OwnedObjectPath, ServiceError> {
// loop {
// let mut retries = 0;
// match self.connections_proxy.get_connection(&id).await {
// Ok(path) => return Ok(path),
// Err(e) => {
// retries += 1;
// if retries > 3 {
// return Err(e.into());
// };
// }
// }
// }
// }
}

0 comments on commit 4dd1ad0

Please sign in to comment.