registrypath is not used and causes issues in slack (#5302)
Chris Akritidis committed
Jan 31, 2019 at 14:51 UTC
de2f21c22c8f967c8698e88b5ee2a1705e5b5a0d
1 file changed
+1
-2
health/notifications/alarm-notify.sh.in
+1
-2
@@ -1827,8 +1827,7 @@ fi
1827
if [ ${GOTOCLOUD} -eq 0 ] ; then
1828
goto_url="${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html?${redirect_params}"
1829
else
1830
- urlencode "${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html" >/dev/null; url_registrypath="${REPLY}"
1831
- goto_url="https://netdata.cloud/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}®istrypath=${url_registrypath}&${redirect_params}"
1830
+ goto_url="https://netdata.cloud/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
1831
fi
1832
1833
# the severity of the alarm