Skip to content

Commit

Permalink
registrypath is not used and causes issues in slack (#5302)
Browse files Browse the repository at this point in the history
  • Loading branch information
cakrit committed Jan 31, 2019
1 parent 9c334bb commit de2f21c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions health/notifications/alarm-notify.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -1827,8 +1827,7 @@ fi
if [ ${GOTOCLOUD} -eq 0 ] ; then
goto_url="${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html?${redirect_params}"
else
urlencode "${NETDATA_REGISTRY_URL}/goto-host-from-alarm.html" >/dev/null; url_registrypath="${REPLY}"
goto_url="https://netdata.cloud/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&registrypath=${url_registrypath}&${redirect_params}"
goto_url="https://netdata.cloud/alarms/redirect?agentID=${NETDATA_REGISTRY_UNIQUE_ID}&${redirect_params}"
fi

# the severity of the alarm
Expand Down

0 comments on commit de2f21c

Please sign in to comment.