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 (
"fmt"
"os"
"sort"
"strconv"
"strings"

View file

@ -20,7 +20,6 @@ import (
"flag"
"fmt"
"net"
"os"
"time"
"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,
IngressClassByName: *ingressClassByName,
},
DisableCatchAll: *disableCatchAll,
ValidationWebhook: *validationWebhook,
ValidationWebhookCertPath: *validationWebhookCert,
ValidationWebhookKeyPath: *validationWebhookKey,
InternalLoggerAddress: *internalLoggerAddress,
DisableSyncEvents: *disableSyncEvents,
DisableCatchAll: *disableCatchAll,
ValidationWebhook: *validationWebhook,
ValidationWebhookCertPath: *validationWebhookCert,
ValidationWebhookKeyPath: *validationWebhookKey,
InternalLoggerAddress: *internalLoggerAddress,
DisableSyncEvents: *disableSyncEvents,
EnableAnnotationsPrefixCheck: *enableAnnotationsPrefixCheck,
}