fix: Use forwarding_host instead of the renamed forward_ip column

The stream table's forward_ip column was renamed to forwarding_host
back in migration 20210423103500_stream_domain.js, so the stream log
source labels were always showing "undefined" for the forwarding
target. Spotted by @jc21 in review.
This commit is contained in:
carlosalbertorg
2026-09-23 07:00:19 -03:00
parent 4282d6c6e9
commit 9445038b36
+1 -1
View File
@@ -165,7 +165,7 @@ const internalLogViewer = {
dead: toHostOptions(deadHosts),
stream: streams.map((row) => ({
id: row.id,
label: `Port ${row.incoming_port}${row.forward_ip}:${row.forwarding_port}`,
label: `Port ${row.incoming_port}${row.forwarding_host}:${row.forwarding_port}`,
})),
},
};