rename dokku_log_pluginhook_call
This commit is contained in:
committed by
Jose Diaz-Gonzalez
parent
ad72a137e1
commit
ce23cf6ce6
@@ -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)" "$@"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user