1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00

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