Skip to content

Commit

Permalink
Fix logging IP instead of WebRTC port
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecrs committed Feb 7, 2023
1 parent b6b10e7 commit c781103
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/rootfs/etc/s6-overlay/s6-rc.d/go2rtc/run
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function get_ip_and_port_from_supervisor() {
jq --exit-status --raw-output '.data.network["8555/tcp"]'
) && [[ "${webrtc_port}" =~ ${port_regex} ]]; then
webrtc_port="${BASH_REMATCH[1]}"
echo "[INFO] Got WebRTC port from supervisor: ${ip_address}" >&2
echo "[INFO] Got WebRTC port from supervisor: ${webrtc_port}" >&2
else
echo "[WARN] Failed to get WebRTC port from supervisor" >&2
return 0
Expand Down

0 comments on commit c781103

Please sign in to comment.