removed remaining flag parsing

This commit is contained in:
Michael Engelhardt 2020-11-20 06:48:23 +01:00
parent 4c151bdf8f
commit 3985c6c483

View File

@ -3,7 +3,6 @@ package main
import ( import (
"bytes" "bytes"
"compress/gzip" "compress/gzip"
"flag"
"fmt" "fmt"
"log" "log"
"net/http" "net/http"
@ -26,8 +25,6 @@ var (
) )
func main() { func main() {
flag.Parse()
cfg := loadConfiguration() cfg := loadConfiguration()
resultsHandler := serviceResultsHandler resultsHandler := serviceResultsHandler
if cfg.Security != nil && cfg.Security.IsValid() { if cfg.Security != nil && cfg.Security.IsValid() {