rename dokku_log_pluginhook_call

This commit is contained in:
Jose Diaz-Gonzalez
2015-09-07 03:55:37 -04:00
committed by Jose Diaz-Gonzalez
parent ad72a137e1
commit ce23cf6ce6
3 changed files with 3 additions and 3 deletions

View File

@@ -2,4 +2,4 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_PATH/available/common/functions"
[[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@"
[[ ! "$DOKKU_EVENTS" ]] || dokku_log_plugn_trigger_call "$(basename $0)" "$@"

View File

@@ -49,6 +49,6 @@ if [[ "$flag_rsyslog_needs_restart" == "y" ]]; then
service rsyslog restart
fi
[[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@"
[[ ! "$DOKKU_EVENTS" ]] || dokku_log_plugn_trigger_call "$(basename $0)" "$@"
exit 0

View File

@@ -94,7 +94,7 @@ dokku_log_event() {
logger -t dokku -i -- "$@"
}
dokku_log_pluginhook_call() {
dokku_log_plugn_trigger_call() {
local l_hook
l_hook="$1" ; shift