Skip to content

Commit d4bfd60

Browse files
authored
refactor(app/integration): remove unused TcpConn::target_addr() (#3695)
this method is not used by any test code, nor any other internal code. this commit removes `linkerd_app_integration::tcp::TcpConn::target_addr()`. Signed-off-by: katelyn martin <[email protected]>
1 parent 16614ca commit d4bfd60

File tree

1 file changed

+0
-4
lines changed
  • linkerd/app/integration/src

1 file changed

+0
-4
lines changed

linkerd/app/integration/src/tcp.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,10 +149,6 @@ impl TcpServer {
149149
}
150150

151151
impl TcpConn {
152-
pub fn target_addr(&self) -> SocketAddr {
153-
self.addr
154-
}
155-
156152
pub async fn read(&self) -> Vec<u8> {
157153
self.try_read()
158154
.await

0 commit comments

Comments
 (0)