rename dokku_log_pluginhook_call

This commit is contained in:
Jose Diaz-Gonzalez authored and Jose Diaz-Gonzalez committed 2015-09-15 02:16:40 -07:00
1 parent ad72a137e1
commit ce23cf6ce6
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -2,4 +2,4 @@
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_PATH/available/common/functions" source "$PLUGIN_PATH/available/common/functions"
[[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@" [[ ! "$DOKKU_EVENTS" ]] || dokku_log_plugn_trigger_call "$(basename $0)" "$@"
+1 -1
View File
@@ -49,6 +49,6 @@ if [[ "$flag_rsyslog_needs_restart" == "y" ]]; then
service rsyslog restart service rsyslog restart
fi fi
[[ ! "$DOKKU_EVENTS" ]] || dokku_log_pluginhook_call "$(basename $0)" "$@" [[ ! "$DOKKU_EVENTS" ]] || dokku_log_plugn_trigger_call "$(basename $0)" "$@"
exit 0 exit 0
+1 -1
View File
@@ -94,7 +94,7 @@ dokku_log_event() {
logger -t dokku -i -- "$@" logger -t dokku -i -- "$@"
} }
dokku_log_pluginhook_call() { dokku_log_plugn_trigger_call() {
local l_hook local l_hook
l_hook="$1" ; shift l_hook="$1" ; shift