changeset 433:da05704e25c1

Removed templating from GeoServer startup SQL script.
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 20 Aug 2018 15:45:59 +0200
parents 5f5b3ca0c9fe
children 827103f35006
files cmd/gemma/geoserver.go
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/cmd/gemma/geoserver.go	Mon Aug 20 15:34:46 2018 +0200
+++ b/cmd/gemma/geoserver.go	Mon Aug 20 15:45:59 2018 +0200
@@ -138,8 +138,7 @@
 					{"user", config.MetamorphDBUser()},
 					{"passwd", config.MetamorhpDBPassword()},
 					{"dbtype", databaseType},
-					{"Session startup SQL",
-						fmt.Sprintf(startupSQL, config.MetamorphDBUser())},
+					{"Session startup SQL", startupSQL},
 					{"Session close-up SQL", closeupSQL},
 				},
 			},