remove unused os import, fix formatting

This commit is contained in:
Yngve Molnes 2023-05-25 12:58:43 +02:00
parent 5c13e93e17
commit 6f60345e03
2 changed files with 6 additions and 8 deletions

View file

@ -18,7 +18,6 @@ package controller
import ( import (
"fmt" "fmt"
"os"
"sort" "sort"
"strconv" "strconv"
"strings" "strings"

View file

@ -20,7 +20,6 @@ import (
"flag" "flag"
"fmt" "fmt"
"net" "net"
"os"
"time" "time"
"github.com/prometheus/client_golang/prometheus" "github.com/prometheus/client_golang/prometheus"
@ -369,12 +368,12 @@ https://blog.maxmind.com/2019/12/18/significant-changes-to-accessing-and-using-g
WatchWithoutClass: *watchWithoutClass, WatchWithoutClass: *watchWithoutClass,
IngressClassByName: *ingressClassByName, IngressClassByName: *ingressClassByName,
}, },
DisableCatchAll: *disableCatchAll, DisableCatchAll: *disableCatchAll,
ValidationWebhook: *validationWebhook, ValidationWebhook: *validationWebhook,
ValidationWebhookCertPath: *validationWebhookCert, ValidationWebhookCertPath: *validationWebhookCert,
ValidationWebhookKeyPath: *validationWebhookKey, ValidationWebhookKeyPath: *validationWebhookKey,
InternalLoggerAddress: *internalLoggerAddress, InternalLoggerAddress: *internalLoggerAddress,
DisableSyncEvents: *disableSyncEvents, DisableSyncEvents: *disableSyncEvents,
EnableAnnotationsPrefixCheck: *enableAnnotationsPrefixCheck, EnableAnnotationsPrefixCheck: *enableAnnotationsPrefixCheck,
} }