Skip to content

Commit

Permalink
Add missing / at the end of data source name (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayancanonical authored Apr 30, 2024
1 parent 1239ad1 commit 8a511ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snap/local/start-mysqld-exporter.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ if [ -z "${EXPORTER_USER}" ] || [ -z "${EXPORTER_PASS}" ]; then
echo "Error: both EXPORTER_USER and EXPORTER_PASS must be set" >&2
exit 1
fi
DATA_SOURCE_NAME="${EXPORTER_USER}:${EXPORTER_PASS}@unix(${SOCKET})"
DATA_SOURCE_NAME="${EXPORTER_USER}:${EXPORTER_PASS}@unix(${SOCKET})/"

if [ -z "$SNAP" ]; then
exec env DATA_SOURCE_NAME="${DATA_SOURCE_NAME}" \
Expand Down

0 comments on commit 8a511ad

Please sign in to comment.