Skip to content

add User Agent to Wget call against the Broker #27

add User Agent to Wget call against the Broker

add User Agent to Wget call against the Broker #27

Triggered via pull request April 1, 2024 09:36
@T0biiiT0biii
synchronize #37
T0biii:patch-2
Status Failure
Total duration 15s
Artifacts

shellcheck.yml

on: pull_request
runner / shellcheck
5s
runner / shellcheck
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
runner / shellcheck: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink#L133
[shellcheck (suggestion)] reported by reviewdog 🐶 Raw Output: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:133:- echo $user_agent ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:133:+ echo "$user_agent"
runner / shellcheck: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink#L142
[shellcheck (suggestion)] reported by reviewdog 🐶 Raw Output: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:142:- if ! WGKEX_DATA=$(force_wan_connection wget -q -U=$user_agent -O- --post-data='{"domain": "'"$SEGMENT"'","public_key": "'"$PUBLICKEY"'"}' "$WGKEX_BROKER"); then ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:142:+ if ! WGKEX_DATA=$(force_wan_connection wget -q -U="$user_agent" -O- --post-data='{"domain": "'"$SEGMENT"'","public_key": "'"$PUBLICKEY"'"}' "$WGKEX_BROKER"); then
runner / shellcheck
Process completed with exit code 2.
runner / shellcheck: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink#L121
[shellcheck] reported by reviewdog 🐶 Declare and assign separately to avoid masking return values. Raw Output: ./ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:121:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)
runner / shellcheck: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink#L133
[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:133:7: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)
runner / shellcheck: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink#L139
[shellcheck] reported by reviewdog 🐶 Declare and assign separately to avoid masking return values. Raw Output: ./ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:139:8: warning: Declare and assign separately to avoid masking return values. (ShellCheck.SC2155)
runner / shellcheck: ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink#L142
[shellcheck] reported by reviewdog 🐶 Double quote to prevent globbing and word splitting. Raw Output: ./ffmuc-mesh-vpn-wireguard-vxlan/files/lib/gluon/gluon-mesh-wireguard-vxlan/checkuplink:142:52: info: Double quote to prevent globbing and word splitting. (ShellCheck.SC2086)