Skip to content

Commit 79734ca

Browse files
authored
Fix friendlyName not using virtual functions (#37)
This would result in a connection failure from the DS showing @ null instead of @ ipaddress
1 parent 1564f68 commit 79734ca

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ buildScan {
4242
}
4343

4444
group = "edu.wpi.first"
45-
version = "2025.2.0"
45+
version = "2025.2.1"
4646

4747
base {
4848
archivesName = "DeployUtils"

src/main/java/edu/wpi/first/deployutils/deploy/sessions/SshSessionController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public void close() throws IOException {
125125

126126
@Override
127127
public String friendlyString() {
128-
return user + "@" + host + ":" + port;
128+
return user + "@" + getHost() + ":" + getPort();
129129
}
130130

131131
@Override

src/main/java/edu/wpi/first/deployutils/deploy/target/location/SshDeployLocation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public DiscoveryAction createAction() {
8080

8181
@Override
8282
public String friendlyString() {
83-
return user + " @ " + address;
83+
return getUser() + " @ " + getAddress();
8484
}
8585

8686
@Override

testing/cpp/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
plugins {
2-
id "edu.wpi.first.DeployUtils" version "2025.2.0"
2+
id "edu.wpi.first.DeployUtils" version "2025.2.1"
33
}
44

55
deploy {

0 commit comments

Comments
 (0)