Skip to content

Commit 9242d00

Browse files
committed
fix: missing curly brace in config.go
Now that the syntax is correct, I also reformatted the code.
1 parent e669993 commit 9242d00

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

internal/config/config.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,13 +229,14 @@ func validateConfig(config *Config) bool {
229229

230230
if config.General.BufferSizes.BroadcastManager <= 0 {
231231
config.General.BufferSizes.BroadcastManager = 10000
232+
}
232233

233-
// If the cleanup flag is not set, default to true
234+
// If the cleanup flag is not set, default to true
234235
if config.General.DropOldLogs == nil {
235236
log.Println("drop_old_logs is not set, defaulting to true")
236237
defaultCleanup := true
237238
config.General.DropOldLogs = &defaultCleanup
238-
}
239+
}
239240

240241
return true
241242
}

0 commit comments

Comments
 (0)