From cb43c1475d80f82bf83a73a1abbc90545c51f757 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Thu, 2 Dec 2021 12:10:01 +0100 Subject: [PATCH] fixes --- DbService.cs | 2 -- Dockerfile | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/DbService.cs b/DbService.cs index 898604f..f1d2aa5 100644 --- a/DbService.cs +++ b/DbService.cs @@ -37,8 +37,6 @@ namespace de.hottis.genericdatabaseapiservice.Services { Console.WriteLine("ConnInfo: {0}", databaseConnInfo); Console.WriteLine("Statement: {0}", selectStatement); - throw new Exception("AetschiBaetsch"); - using (var conn = new MySqlConnection(databaseConnInfo)) { await conn.OpenAsync(); diff --git a/Dockerfile b/Dockerfile index 3116f1c..dba9001 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,6 +4,7 @@ FROM python:3.10.0-bullseye AS stage1-builder RUN mkdir /tmp/work && chown 1000 /tmp/work COPY openapi.yaml /tmp/work/ +COPY serviceErrorCodes.yaml /tmp/work/ COPY generateAll.sh /tmp/work/ COPY ENV /tmp/work/ COPY *.cs.tmpl /tmp/work/ @@ -30,7 +31,6 @@ RUN mkdir /tmp/work && chown 1000 /tmp/work USER 1000 COPY openapi.yaml /tmp/work/ -COPY serviceErrorCodes.yaml /tmp/work/ COPY generateAll.sh /tmp/work/ COPY ENV /tmp/work/ COPY DbService.cs /tmp/work/