use declare for description variable

This commit is contained in:
Michael Hobbs committed 2016-03-08 15:30:34 -05:00
1 parent d8e00f4f8a
commit 987c5cfb9c
111 files changed
+225 -225

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@ source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
source "$PLUGIN_AVAILABLE_PATH/proxy/functions"
nginx_post_domains_update() {
local desc="calls nginx build_config when domains are updated"
declare desc="calls nginx build_config when domains are updated"
local trigger="nginx_post_domains_update"
if [[ "$(get_app_proxy_type "$1")" == "nginx" ]]; then
nginx_build_config "$1"