kojiapi: move from chi to echo

Follow the worker API so we standardise on one library. This simplifies
the code quite a bit.

No functional change.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2020-09-17 13:14:02 +01:00
parent 504a5890d9
commit 6bab73f378
19 changed files with 111 additions and 2836 deletions

View file

@ -187,7 +187,7 @@ func main() {
}
}
kojiServer := kojiapi.NewServer(workers, rpm, distros, kojiServers)
kojiServer := kojiapi.NewServer(logger, workers, rpm, distros, kojiServers)
tlsConfig, err := createTLSConfig(&connectionConfig{
CACertFile: "/etc/osbuild-composer/ca-crt.pem",