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:
parent
4c151bdf8f
commit
3985c6c483
1 changed files with 0 additions and 3 deletions
3
main.go
3
main.go
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue