Skip to content

Commit

Permalink
Clean up debug-prints in mullvad api-access list et al
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Sep 25, 2023
1 parent 6828288 commit f584782
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions mullvad-cli/src/cmds/api_access.rs
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ mod conversions {
remote_port,
name,
} => {
println!("Adding LOCAL SOCKS5-proxy: localhost:{local_port} => {remote_ip}:{remote_port}");
println!("Adding Local SOCKS5-proxy: localhost:{local_port} => {remote_ip}:{remote_port}");
let socks_proxy = daemon_types::Socks5::Local(
daemon_types::Socks5Local::from_args(
remote_ip.to_string(),
Expand All @@ -348,7 +348,7 @@ mod conversions {
remote_port,
name,
} => {
println!("Adding REMOTE SOCKS5-proxy: {remote_ip}:{remote_port}");
println!("Adding SOCKS5-proxy: {remote_ip}:{remote_port}");
let socks_proxy = daemon_types::Socks5::Remote(
daemon_types::Socks5Remote::from_args(
remote_ip.to_string(),
Expand Down Expand Up @@ -418,9 +418,6 @@ mod pp {
}
};

// TODO: For debugging purposes only, remove later
writeln!(f, "{:?}", self.api_access_method)?;

match &self.api_access_method.access_method {
AccessMethod::BuiltIn(method) => {
write!(f, "{}", method.canonical_name())?;
Expand Down

0 comments on commit f584782

Please sign in to comment.