From 36630cad30d5c160d20488923444b4a18c7acb81 Mon Sep 17 00:00:00 2001 From: Lee Brown Date: Tue, 14 Jan 2020 10:49:32 -0800 Subject: [PATCH] remove debug print lines from schema migration --- cmd/web-api/Dockerfile | 2 ++ cmd/web-app/Dockerfile | 2 ++ internal/schema/migrations.go | 3 --- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cmd/web-api/Dockerfile b/cmd/web-api/Dockerfile index 27ed1ad..c3d0c79 100644 --- a/cmd/web-api/Dockerfile +++ b/cmd/web-api/Dockerfile @@ -68,6 +68,8 @@ ADD resources/templates/shared /templates/shared ADD configs/fresh-auto-reload.conf /runner.conf ENV TEMPLATE_DIR=/templates +ENV SHARED_TEMPLATE_DIR=/templates/shared +#ENV STATIC_DIR=/static WORKDIR ${code_path} diff --git a/cmd/web-app/Dockerfile b/cmd/web-app/Dockerfile index 064f8dd..c931c4d 100644 --- a/cmd/web-app/Dockerfile +++ b/cmd/web-app/Dockerfile @@ -47,6 +47,8 @@ ADD resources/templates/shared /templates/shared ADD configs/fresh-auto-reload.conf /runner.conf ENV TEMPLATE_DIR=/templates +ENV SHARED_TEMPLATE_DIR=/templates/shared +ENV STATIC_DIR=/static WORKDIR ${code_path} diff --git a/internal/schema/migrations.go b/internal/schema/migrations.go index 9f254d3..536002a 100644 --- a/internal/schema/migrations.go +++ b/internal/schema/migrations.go @@ -245,9 +245,6 @@ func migrationList(ctx context.Context, db *sqlx.DB, log *log.Logger, isUnittest countries = []string{"US"} } - fmt.Println("isUnittest", isUnittest) - fmt.Println("countries", countries) - ncol := 12 fn := func(geoNames []geonames.Geoname) error { valueStrings := make([]string, 0, len(geoNames))