Skip to content

add User Agent to Wget call against the Broker #28

add User Agent to Wget call against the Broker

add User Agent to Wget call against the Broker #28

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

shellcheck.yml

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

Annotations

2 errors and 3 warnings
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#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)