Fix order of arguments passed

This commit is contained in:
Victor Edvardsson 2024-04-15 16:02:06 +02:00
parent 65dcc5876f
commit 8ad6220cd3
No known key found for this signature in database

View file

@ -248,8 +248,7 @@ func LoadConfig(configFile string, disableAgent bool, disableAPI bool, quiet boo
if err := types.SetDefaultLoggerConfig(cConfig.Common.LogMedia,
cConfig.Common.LogDir, *cConfig.Common.LogLevel,
cConfig.Common.LogMaxSize, cConfig.Common.LogMaxFiles,
cConfig.Common.LogMaxAge, cConfig.Common.CompressLogs,
cConfig.Common.LogFormat,
cConfig.Common.LogMaxAge, cConfig.Common.LogFormat, cConfig.Common.CompressLogs,
cConfig.Common.ForceColorLogs); err != nil {
return nil, err
}