From 6a05eba50b83f3735c695e8843610786341f5291 Mon Sep 17 00:00:00 2001 From: Alexey Pustovalov Date: Thu, 31 Oct 2019 20:20:27 +0200 Subject: [PATCH] Fix default proxy name in SQLite3 image --- proxy-sqlite3/alpine/docker-entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proxy-sqlite3/alpine/docker-entrypoint.sh b/proxy-sqlite3/alpine/docker-entrypoint.sh index 0b44ead4b..41ea150d1 100755 --- a/proxy-sqlite3/alpine/docker-entrypoint.sh +++ b/proxy-sqlite3/alpine/docker-entrypoint.sh @@ -113,7 +113,7 @@ update_zbx_config() { update_config_var $ZBX_CONFIG "Hostname" "" update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}" else - update_config_var $ZBX_CONFIG "Hostname" "${ZBX_HOSTNAME:-"zabbix-proxy-"$db_type}" + update_config_var $ZBX_CONFIG "Hostname" "${ZBX_HOSTNAME:-"zabbix-proxy-sqlite3}" update_config_var $ZBX_CONFIG "HostnameItem" "${ZBX_HOSTNAMEITEM}" fi