mirror of
https://github.com/fosrl/olm.git
synced 2026-02-20 11:56:43 +00:00
Fix save config
This commit is contained in:
5
main.go
5
main.go
@@ -289,11 +289,6 @@ func main() {
|
||||
loggerLevel := parseLogLevel(logLevel)
|
||||
logger.GetLogger().SetLevel(parseLogLevel(logLevel))
|
||||
|
||||
// Validate required fields
|
||||
if endpoint == "" || id == "" || secret == "" {
|
||||
logger.Fatal("endpoint, id, and secret are required either via CLI flags or environment variables")
|
||||
}
|
||||
|
||||
// parse the mtu string into an int
|
||||
mtuInt, err = strconv.Atoi(mtu)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user