Skip to content
Snippets Groups Projects
Verified Commit 4b8ad6e6 authored by Janne Mareike Koschinski's avatar Janne Mareike Koschinski
Browse files

Fixed compile issue

parent 9391c747
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,9 @@ import ( ...@@ -4,9 +4,9 @@ import (
"database/sql" "database/sql"
"fmt" "fmt"
_ "github.com/lib/pq" _ "github.com/lib/pq"
"os"
"net/http"
"html/template" "html/template"
"net/http"
"os"
"path" "path"
) )
...@@ -20,7 +20,6 @@ type DatabaseConfig struct { ...@@ -20,7 +20,6 @@ type DatabaseConfig struct {
} }
func NewConfigFromEnv() Config { func NewConfigFromEnv() Config {
var err error
config := Config{} config := Config{}
config.Database.Format = os.Getenv("KSTATS_DATABASE_TYPE") config.Database.Format = os.Getenv("KSTATS_DATABASE_TYPE")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment